File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -210,20 +210,16 @@ jobs:
210
210
211
211
push-docker-image-dockerhub :
212
212
runs-on : ubuntu-20.04
213
- env :
214
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
215
213
steps :
216
214
- name : Checkout CBMC source
217
215
uses : actions/checkout@v2
218
216
with :
219
217
submodules : recursive
220
- - name : Get release info
221
- id : get_release_info
222
- uses :
bruceadams/[email protected]
223
218
- name : Set Image Tag
224
219
run : |
225
- echo ${{ steps.get_release_info.outputs.tag_name }}
226
- VERSION = ${{ steps.get_release_info.outputs.tag_name }}
220
+ echo ${{ github.ref }}
221
+ echo $GITHUB_REF
222
+ echo $GITHUB_REF | cut -d "/" -f 3 >> $VERSION
227
223
arrVERSION=(${VERSION//-/ })
228
224
echo "IMAGE_TAG=diffblue/cbmc:${arrVERSION[1]}" >> $GITHUB_ENV
229
225
- name : Build docker image
You can’t perform that action at this time.
0 commit comments