Parcourir la source

Add git fetch --tags.

scossu il y a 9 mois
Parent
commit
62371dcf02
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      .github/workflows/push-test-image.yml

+ 2 - 0
.github/workflows/push-test-image.yml

@@ -20,7 +20,9 @@ jobs:
 
       - name: update version info
         run: >
+          git fetch --tags
           git describe --tags >| VERSION
+          git rev-parse HEAD >> VERSION
 
       - name: Build the Docker image
         run: >