Explorar el Código

refactor: add version to build args

Yeuoly hace 6 meses
padre
commit
75c07102a4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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: