Skip to content

Commit

Permalink
Add multi platform and use buildx container for GHA cache support
Browse files Browse the repository at this point in the history
  • Loading branch information
vanpelt committed Jun 21, 2024
1 parent f795ded commit 24508bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ jobs:
- name: Build frontend
working-directory: ./frontend
run: npm run build
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
Expand All @@ -66,6 +70,7 @@ jobs:
id: push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
context: backend/.
push: true
tags: ${{ steps.meta.outputs.tags }}
Expand Down

0 comments on commit 24508bb

Please sign in to comment.