Skip to content

Commit 0191a47

Browse files
authored
Merge pull request #6 from ababak/dev
Fix gtihub workflow docker_tag
2 parents 963907d + 174c9fa commit 0191a47

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
echo "DOCKER_TAG=$('${{ github.ref_name }}' -replace '^v', '' -replace '\.\w+$', '')" >> $GITHUB_OUTPUT
2727
2828
- name: Build Docker image
29-
run: docker build . --file Dockerfile --tag ababak/cgcpp:$DOCKER_TAG
29+
run: docker build . --file Dockerfile --tag ababak/cgcpp:${{ steps.vars.outputs.DOCKER_TAG }}
3030

3131
- name: Push
32-
run: docker push ababak/cgcpp:$DOCKER_TAG
32+
run: docker push ababak/cgcpp:${{ steps.vars.outputs.DOCKER_TAG }}

0 commit comments

Comments
 (0)