Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

Feat/only tag arm64 build (#806)

takatost0c6f92d9be2b
diff --git a/.github/workflows/build-api-image.yml b/.github/workflows/build-api-image.yml
index ceffcc051f6..cc3964e6e14 100644
--- a/.github/workflows/build-api-image.yml
+++ b/.github/workflows/build-api-image.yml
@@ -42,7 +42,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: "{{defaultContext}}:api"
- platforms: ${{ github.ref == 'refs/heads/deploy/dev' && 'linux/amd64' || 'linux/amd64,linux/arm64' }}
+ platforms: ${{ startsWith(github.ref, 'refs/tags/') && 'linux/amd64,linux/arm64' || 'linux/amd64' }}
build-args: |
COMMIT_SHA=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}
push: true
diff --git a/.github/workflows/build-web-image.yml b/.github/workflows/build-web-image.yml
index 730a5dbecb9..51d0e8967ce 100644
--- a/.github/workflows/build-web-image.yml
+++ b/.github/workflows/build-web-image.yml
@@ -42,7 +42,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: "{{defaultContext}}:web"
- platforms: ${{ github.ref == 'refs/heads/deploy/dev' && 'linux/amd64' || 'linux/amd64,linux/arm64' }}
+ platforms: ${{ startsWith(github.ref, 'refs/tags/') && 'linux/amd64,linux/arm64' || 'linux/amd64' }}
build-args: |
COMMIT_SHA=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}
push: true