Skip to content

Commit

Permalink
build: make git describe work
Browse files Browse the repository at this point in the history
  • Loading branch information
favonia committed Aug 7, 2021
1 parent 65c2afa commit 5decc3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- run: "git fetch --tags --force"
- run: "git fetch --force --prune --unshallow --tags"
- run: echo '::set-output name=GIT_DESCRIBE::'`git describe --tags --always --long`
id: git-describe
- uses: docker/build-push-action@v2
Expand Down

0 comments on commit 5decc3d

Please sign in to comment.