Explorar el Código

Add git fetch --tags.

scossu hace 9 meses
padre
commit
62371dcf02
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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: >