File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : codespell
22
3- on :
4- push :
5- branches : [ '*' ]
6- pull_request :
7- branches : [ '*' ]
3+ on : workflow_dispatch
84
95jobs :
106 codespell :
Original file line number Diff line number Diff line change 11name : golangci-lint
22
3- on :
4- push :
5- branches : [ '*' ]
6- pull_request :
7- branches : [ '*' ]
3+ on : workflow_dispatch
84
95jobs :
106 golangci-lint :
Original file line number Diff line number Diff line change 5555
5656 - name : get tag without v
5757 id : tag
58+ shell : bash
5859 if : ${{ github.event_name == 'release' && github.event.action == 'published' }}
59- uses : battila7/get-version-action@v2
60+ run : |
61+ BUILD_VERSION=${{ github.event.release.tag_name }}
62+ echo "BUILD_VERSION=${BUILD_VERSION:1}" >> $GITHUB_ENV
6063
6164 # Build and (optionally) push the driver image
6265 - name : build the driver image
6871 # Only push if we are publishing a release
6972 push : ${{ github.event_name == 'release' && github.event.action == 'published' }}
7073 # Use a 'dev' tag, that won't be pushed, for non-release builds
71- tags : quay.io/ibmodffs/ibm-storage-odf-block-driver:${{ steps.tag.outputs.version-without-v || 'dev' }}
74+ tags : quay.io/ibmodffs/ibm-storage-odf-block-driver:${{ env.BUILD_VERSION || 'dev' }}
You can’t perform that action at this time.
0 commit comments