Skip to content

Commit

Permalink
attempt to build arm64 images
Browse files Browse the repository at this point in the history
  • Loading branch information
trashhalo committed Apr 29, 2024
1 parent 5c27c99 commit 520b4ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
- name: Create Docker context
run: docker context create mycontext

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

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
Expand Down Expand Up @@ -49,6 +52,7 @@ jobs:
with:
context: .
builder: ${{ steps.buildx.outputs.name }}
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/${{ steps.repo_name.outputs.repo }}:${{ steps.image_tag.outputs.tag }},ghcr.io/${{ steps.repo_name.outputs.repo }}:latest
cache-from: type=local,src=/tmp/.buildx-cache
Expand Down

0 comments on commit 520b4ae

Please sign in to comment.