From 5decc3d63a4e97944534b3cbee020b6f4a84ea6b Mon Sep 17 00:00:00 2001 From: favonia Date: Sat, 7 Aug 2021 06:56:50 -0500 Subject: [PATCH] build: make git describe work --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ea3addf3..fa77acc4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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