Skip to content

Commit

Permalink
Build images for multiple platforms (amd64/arm64) (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrekkr authored Feb 24, 2024
1 parent 982bc94 commit 8cdbb81
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,24 @@ jobs:
ref: ${{ steps.params.outputs.ref }}
persist-credentials: false

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

- name: Set up Buildx
id: buildx
uses: docker/setup-buildx-action@v3

- name: Log in to the container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Buildx
id: buildx
uses: docker/setup-buildx-action@v3

- name: Build and push
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
context: .
target: prod
file: Dockerfile
Expand Down

0 comments on commit 8cdbb81

Please sign in to comment.