Skip to content

Commit

Permalink
Try to do multiplatform build
Browse files Browse the repository at this point in the history
  • Loading branch information
xSke committed Feb 15, 2024
1 parent cef7915 commit cc914c8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ jobs:
- uses: actions/checkout@v2
- run: echo "BRANCH_NAME=${GITHUB_REF#refs/heads/}" | sed 's|/|-|g' >> $GITHUB_ENV

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: 'arm64'

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

Expand Down Expand Up @@ -57,6 +62,9 @@ jobs:
with:
# https://github.com/docker/build-push-action/issues/378
context: .
platforms: |-
linux/amd64
linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
cache-from: type=gha
Expand Down

0 comments on commit cc914c8

Please sign in to comment.