瀏覽代碼

refactor: add version to build args

Yeuoly 6 月之前
父節點
當前提交
75c07102a4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .github/workflows/build-push.yml

+ 1 - 1
.github/workflows/build-push.yml

@@ -68,7 +68,7 @@ jobs:
             type=raw,value=${{ github.ref_name }},enable=${{ startsWith(github.ref, 'refs/tags/') }}
 
       - name: Run Build Docker Image
-        run: docker build --build-arg PLATFORM=${{ matrix.scope }} -t dify-plugin-daemon -f ./Dockerfile .
+        run: docker build --build-arg PLATFORM=${{ matrix.scope }} --build-arg VERSION=${{ github.ref_name }} -t dify-plugin-daemon -f ./Dockerfile .
 
       - name: Tag Docker Images
         run: