chore: attempt to restrict push when allowed

This commit is contained in:
C4illin
2025-08-08 00:14:08 +02:00
committed by Emrik Östling
parent d390dce843
commit 43081c5179

View File

@@ -84,8 +84,8 @@ jobs:
platforms: ${{ matrix.platform }}
labels: ${{ steps.meta.outputs.labels }}
annotations: ${{ steps.meta.outputs.annotations }}
outputs: type=image,name=ghcr.io/${{ env.REPO }},push-by-digest=true,name-canonical=true,push=false,oci-mediatypes=true
push: false
outputs: type=image,name=ghcr.io/${{ env.REPO }},push-by-digest=true,name-canonical=true,oci-mediatypes=true
push: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
cache-from: type=gha,scope=${{ matrix.platform }}
cache-to: type=gha,mode=max,scope=${{ matrix.platform }}
@@ -104,6 +104,7 @@ jobs:
retention-days: 1
merge:
if: github.event.pull_request.head.repo.full_name == github.repository
name: Merge Docker manifests
runs-on: ubuntu-latest