Skip to content

Commit

Permalink
separate steps for cross compile
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-bcw committed Aug 19, 2024
1 parent 2f3cb18 commit a04a106
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,20 @@ jobs:
- name: Build and push worker
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
context: .
# file: optimized-worker.Dockerfile
file: Dockerfile
push: true
tags: ${{ steps.worker-meta.outputs.tags }}
labels: ${{ steps.worker-meta.outputs.labels }}
# cache-from: type=gha
# cache-to: type=gha,mode=max

- name: Build and push worker (ARM)
uses: docker/build-push-action@v5
with:
platforms: linux/arm64
context: .
# file: optimized-worker.Dockerfile
file: Dockerfile
Expand Down

0 comments on commit a04a106

Please sign in to comment.