fix: publish multi-arch container images (#16)

This commit is contained in:
Daniel
2026-07-26 23:40:45 +10:00
committed by GitHub
parent 31c0806724
commit 5b743fc156
2 changed files with 14 additions and 0 deletions
+7
View File
@@ -30,6 +30,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- 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 GHCR
# Only log in when pushing (not on PRs from forks)
if: github.event_name == 'push'
@@ -56,6 +62,7 @@ jobs:
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
# Push on branch pushes; only validate (no push) on PRs
push: ${{ github.event_name == 'push' }}
tags: ${{ steps.meta.outputs.tags }}