mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
build(github): remove hard coded autobrr/autobrr (#1365)
* feat(ci): push to PRs image repository. * always publish * brand new eyes * really. * k. whatever * .
This commit is contained in:
parent
f979b9adc8
commit
9db5a8b116
1 changed files with 3 additions and 3 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue