High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
Docker login only with branch from the repository (#370)
Alexae93bbe2a791
diff --git a/.github/workflows/build_push_docker_staging.yml b/.github/workflows/build_push_docker_staging.ymlindex 31823ce28f..ec8e6dbfd7 100644--- a/.github/workflows/build_push_docker_staging.yml+++ b/.github/workflows/build_push_docker_staging.yml@@ -24,6 +24,7 @@ jobs:id: buildxuses: docker/[email protected]- name: Login to Docker Hub+ if: ${{ github.repository == 'alextran1502/immich' }}uses: docker/login-action@v2with:username: ${{ secrets.DOCKERHUB_USERNAME }}@@ -34,7 +35,7 @@ jobs:context: ./serverfile: ./server/Dockerfileplatforms: linux/arm/v7,linux/amd64,linux/arm64- push: ${{ github.event_name == 'pull_request' }}+ push: ${{ github.event_name == 'pull_request' && github.repository == 'alextran1502/immich' }}tags: |altran1502/immich-server:staging@@ -52,6 +53,7 @@ jobs:id: buildxuses: docker/[email protected]- name: Login to Docker Hub+ if: ${{ github.repository == 'alextran1502/immich' }}uses: docker/login-action@v2with:username: ${{ secrets.DOCKERHUB_USERNAME }}@@ -62,7 +64,7 @@ jobs:context: ./machine-learningfile: ./machine-learning/Dockerfileplatforms: linux/arm/v7,linux/amd64- push: ${{ github.event_name == 'pull_request' }}+ push: ${{ github.event_name == 'pull_request' && github.repository == 'alextran1502/immich' }}tags: |altran1502/immich-machine-learning:staging@@ -79,6 +81,7 @@ jobs:id: buildxuses: docker/[email protected]- name: Login to Docker Hub+ if: ${{ github.repository == 'alextran1502/immich' }}uses: docker/login-action@v2with:username: ${{ secrets.DOCKERHUB_USERNAME }}@@ -90,7 +93,7 @@ jobs:file: ./web/Dockerfileplatforms: linux/arm/v7,linux/amd64,linux/arm64target: prod- push: ${{ github.event_name == 'pull_request' }}+ push: ${{ github.event_name == 'pull_request' && github.repository == 'alextran1502/immich' }}tags: |altran1502/immich-web:staging@@ -107,6 +110,7 @@ jobs:id: buildxuses: docker/[email protected]- name: Login to Docker Hub+ if: ${{ github.repository == 'alextran1502/immich' }}uses: docker/login-action@v2with:username: ${{ secrets.DOCKERHUB_USERNAME }}@@ -117,6 +121,6 @@ jobs:context: ./nginxfile: ./nginx/Dockerfileplatforms: linux/arm/v7,linux/amd64,linux/arm64- push: ${{ github.event_name == 'pull_request' }}+ push: ${{ github.event_name == 'pull_request' && github.repository == 'alextran1502/immich' }}tags: |altran1502/immich-proxy:staging