Skip to content

Commit

Permalink
fix: get tag
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent authored Aug 22, 2024
1 parent 91a6b3e commit d56a260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

- name: Get the current tag
id: currentTag
run: echo "TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
run: git fetch --prune --unshallow && TAG=$(git describe --tags --abbrev=0) && echo $TAG && echo "TAG="$TAG >> "$GITHUB_ENV"

- name: Build and push Docker image
uses: docker/build-push-action@v6
Expand Down

0 comments on commit d56a260

Please sign in to comment.