diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c4433fd..68e07ca 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ on: env: REGISTRY: ghcr.io - REGISTRY_IMAGE: ghcr.io/autobrr/autobrr + REGISTRY_IMAGE: ghcr.io/${{ github.repository }} permissions: contents: write @@ -213,7 +213,7 @@ jobs: context: . file: ./ci.Dockerfile platforms: ${{ matrix.platform }} - outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=${{ (github.event.pull_request.head.repo.full_name == 'autobrr/autobrr' || github.event_name != 'pull_request') && 'true' || 'false' }} + outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=${{ (github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request') && 'true' || 'false' }} labels: ${{ steps.meta.outputs.labels }} build-args: | BUILDTIME=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }} @@ -241,7 +241,7 @@ jobs: docker-merge: name: Publish Docker multi-arch manifest - if: ${{ github.event.pull_request.head.repo.full_name == 'autobrr/autobrr' || github.event_name != 'pull_request' }} + if: ${{ github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request' }} runs-on: ubuntu-latest needs: [docker, test] steps: