Skip to content

Commit

Permalink
fix(build): build multi-platform images one by one
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyXiang committed Jul 30, 2024
1 parent f900d48 commit f878f2e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ jobs:
docker:
name: Build and push Docker image
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
platform:
- linux/amd64
- linux/arm64
steps:
-
name: Docker meta
Expand Down Expand Up @@ -48,7 +42,7 @@ jobs:
uses: docker/build-push-action@v6
with:
push: true
platforms: ${{ matrix.platform }}
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha,scope=buildkit-${{ matrix.platform }}
Expand Down

0 comments on commit f878f2e

Please sign in to comment.