Skip to content

Commit

Permalink
Docker: Specify image arch's to build (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
lryanuk committed Aug 19, 2022
1 parent ae8d6e9 commit 26e2951
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ jobs:
packages: write

steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Checkout repository
uses: actions/checkout@v3

Expand All @@ -36,6 +42,7 @@ jobs:
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 26e2951

Please sign in to comment.