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 Jan 18, 2024
1 parent 6676f88 commit b6ed0b3
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 b6ed0b3

Please sign in to comment.