Browse Source

Mirror config updates in push-app-image action.

scossu 9 tháng trước cách đây
mục cha
commit
e403023d50
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      .github/workflows/push-app-image.yml

+ 2 - 1
.github/workflows/push-app-image.yml

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