Skip pushing containers on forks (#24106)

This commit is contained in:
Nick Schonning authored and Claire committed 2023-03-16 11:44:25 +01:00
1 parent 4213907aaf
commit 46d6cb0f36
1 file changed
+1 -1
+1 -1
View File
@@ -63,7 +63,7 @@ jobs:
platforms: linux/amd64,linux/arm64
provenance: false
builder: ${{ steps.buildx.outputs.name }}
push: ${{ github.event_name != 'pull_request' }}
push: ${{ github.repository == 'mastodon/mastodon' && github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha