浏览代码

Mirror config updates in push-app-image action.

scossu 9 月之前
父节点
当前提交
e403023d50
共有 1 个文件被更改,包括 2 次插入1 次删除
  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