Skip to content

publish tag

publish tag #27

Workflow file for this run

name: Release
on:
push:
branches:
- enable-github-actions
jobs:
release:
permissions: write-all
runs-on: ubuntu-20.04
strategy:
matrix:
package_dir:
- cos-csi-mounter
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: "go"
- name: Run Unit Tests for cos csi mounter
run: sudo make ut-coverage -C ${{ matrix.package_dir }}
- name: Build Debian Package for cos csi mounter container
run: |
cd ${{ matrix.package_dir }}
make packages
- name: Latest Version (Tag and Release)
id: release
if: contains(env, 'publish')
uses: softprops/action-gh-release@v1
with:
files: |
/home/runner/work/ibm-object-csi-driver/ibm-object-csi-driver/cos-csi-mounter/cos-csi-mounter-latest.tar.gz
/home/runner/work/ibm-object-csi-driver/ibm-object-csi-driver/cos-csi-mounter/cos-csi-mounter-latest.tar.gz.sha256
tag_name: v0.0.0
name: v0.0.0
body: CSR generated with SHA1 is not supported to get certs using Metadata.
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3