High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix: skip docker retag jobs on fork PRs (#12491)
bo0tzz0a649f28d940
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.ymlindex 8a2ba9f841..bf393bbcf6 100644--- a/.github/workflows/docker.yml+++ b/.github/workflows/docker.yml@@ -43,7 +43,7 @@ jobs:retag_ml:name: Re-Tag MLneeds: pre-job- if: ${{ needs.pre-job.outputs.should_run_ml == 'false' }}+ if: ${{ needs.pre-job.outputs.should_run_ml == 'false' && !github.event.pull_request.head.repo.fork }}runs-on: ubuntu-lateststrategy:matrix:@@ -51,8 +51,6 @@ jobs:steps:- name: Login to GitHub Container Registryuses: docker/login-action@v3- # Skip when PR from a fork- if: ${{ !github.event.pull_request.head.repo.fork }}with:registry: ghcr.iousername: ${{ github.repository_owner }}@@ -68,7 +66,7 @@ jobs:retag_server:name: Re-Tag Serverneeds: pre-job- if: ${{ needs.pre-job.outputs.should_run_server == 'false' }}+ if: ${{ needs.pre-job.outputs.should_run_server == 'false' && !github.event.pull_request.head.repo.fork }}runs-on: ubuntu-lateststrategy:matrix:@@ -76,8 +74,6 @@ jobs:steps:- name: Login to GitHub Container Registryuses: docker/login-action@v3- # Skip when PR from a fork- if: ${{ !github.event.pull_request.head.repo.fork }}with:registry: ghcr.iousername: ${{ github.repository_owner }}