From 32f57b1a9e4603df7ce529212c4f3d22aa7ec9ee Mon Sep 17 00:00:00 2001 From: b3nw Date: Thu, 12 Feb 2026 03:51:18 +0000 Subject: [PATCH] fix: Disable Docker push on PR builds Fork PRs don't have write access to GHCR. Use conditional push that only pushes on non-PR events (push to main, tags). --- .github/workflows/docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 6bd45e7..21b8397 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -48,7 +48,7 @@ jobs: uses: docker/build-push-action@v6 with: context: . - push: true + push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha