Skip to content

Commit

Permalink
chore(gha): use git describe for git-rev.txt helper
Browse files Browse the repository at this point in the history
  • Loading branch information
vrivellino committed Jan 23, 2024
1 parent 5e583a6 commit c5b566b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dockerbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
if [[ $GITHUB_REF == refs/tags/* ]]; then
echo ${GITHUB_REF#refs/tags/} > git-rev.txt
else
echo ${GITHUB_SHA::8} > git-rev.txt
git describe --exclude 'chart-*' > git-rev.txt
fi
-
name: Set up Docker Context for Buildx
Expand Down

0 comments on commit c5b566b

Please sign in to comment.