diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-03-15 11:43:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-15 16:43:44 +0100 |
commit | 0b8b0ef65221e5341cd81b212f0e40722ffd5ef7 (patch) | |
tree | 76f4855e30d503c759cf1ad29e14293bde8bce38 /.github/workflows | |
parent | f9bdaebad237414b5284be41af7e358ef71f0dee (diff) |
Skip pushing containers on forks (#24106)
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build-image.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index a1db68e3b..c0a4976b1 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -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 |