build: do not push container images from forks (#869)

* fix(prs): don't push if not sourced from autobrr org

* when literals are strings, and strings are nothing.

* some say the beginning is like the end.

* Update release.yml?

* Update release.yml

* 🍺
This commit is contained in:
Kyle Sanderson 2023-04-23 09:06:52 -07:00 committed by GitHub
parent 35af06a535
commit 7cbcc2e14c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -187,7 +187,7 @@ jobs:
context: . context: .
file: ./ci.Dockerfile file: ./ci.Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8 platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
push: ${{ github.repository_owner == 'autobrr' }} push: ${{ github.event.pull_request.head.repo.full_name == 'autobrr/autobrr' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
build-args: | build-args: |