Skip to content

Commit

Permalink
ci: docker: enable multiplatform builds
Browse files Browse the repository at this point in the history
  • Loading branch information
elopez committed Nov 1, 2023
1 parent 5c3ce94 commit 9ec6d0a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Docker Build and Push (Ubuntu & NVM variant)
uses: docker/build-push-action@v5
with:
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
target: final-ubuntu
file: docker/Dockerfile
pull: true
Expand All @@ -77,7 +77,7 @@ jobs:
uses: docker/build-push-action@v5
if: ${{ env.WORKFLOW_BUILD_DISTROLESS == true }}
with:
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
target: final-distroless
file: docker/Dockerfile
pull: true
Expand Down

0 comments on commit 9ec6d0a

Please sign in to comment.