Skip pushing containers on forks (#24106)

lolsob-rspec
Nick Schonning 2023-03-15 11:43:44 -04:00 committed by GitHub
parent 0137e46963
commit a3037c8e71
1 changed files with 1 additions and 1 deletions

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