Skip to content

Commit 45f02be

Browse files
authored
Merge pull request #5749 from NlightNFotis/dockerhub_push_fix_2
Dockerhub image push second set of fixes.
2 parents 758d713 + bcea7ad commit 45f02be

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/release-packages.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,14 @@ jobs:
221221
id: get_release_info
222222
uses: bruceadams/[email protected]
223223
- name: Set Image Tag
224-
run: echo "IMAGE_TAG=diffblue/cbmc:${{ steps.get_release_info.outputs.tag_name }}" >> $GITHUB_ENV
224+
run: |
225+
echo ${{ steps.get_release_info.outputs.tag_name }}
226+
VERSION = ${{ steps.get_release_info.outputs.tag_name }}
227+
arrVERSION=(${VERSION//-/ })
228+
echo "IMAGE_TAG=diffblue/cbmc:${arrVERSION[1]}" >> $GITHUB_ENV
225229
- name: Build docker image
226-
run: docker build -t $IMAGE_TAG .
230+
run: docker build -t "$IMAGE_TAG" .
227231
- name: Push docker image to DockerHub
228232
run: |
229233
docker login --username=dbcicprover --password=${{ secrets.DOCKERHUB_ACCESS_DB_CI_CPROVER }}
230-
docker image push $IMAGE_TAG
234+
docker image push "$IMAGE_TAG"

0 commit comments

Comments
 (0)