From 8102e3b3f5fa847756fb7758b966b82cdebbcd6f Mon Sep 17 00:00:00 2001 From: Alex Tran Date: Fri, 29 Jul 2022 12:54:40 -0500 Subject: [PATCH] Fixed github action to conform with the move to org --- .github/workflows/build_push_docker_staging.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_push_docker_staging.yml b/.github/workflows/build_push_docker_staging.yml index 32f091928c..dbff5a9e4e 100644 --- a/.github/workflows/build_push_docker_staging.yml +++ b/.github/workflows/build_push_docker_staging.yml @@ -24,7 +24,7 @@ jobs: id: buildx uses: docker/setup-buildx-action@v2.0.0 - name: Login to Docker Hub - if: ${{ github.repository == 'alextran1502/immich' }} + if: ${{ github.repository == 'immich-app/immich' }} uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} @@ -35,7 +35,7 @@ jobs: context: ./server file: ./server/Dockerfile platforms: linux/arm/v7,linux/amd64,linux/arm64 - push: ${{ github.event_name == 'pull_request' && github.repository == 'alextran1502/immich' }} + push: ${{ github.event_name == 'pull_request' && github.repository == 'immich-app/immich' }} tags: | altran1502/immich-server:staging @@ -53,7 +53,7 @@ jobs: id: buildx uses: docker/setup-buildx-action@v2.0.0 - name: Login to Docker Hub - if: ${{ github.repository == 'alextran1502/immich' }} + if: ${{ github.repository == 'immich-app/immich' }} uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} @@ -64,7 +64,7 @@ jobs: context: ./machine-learning file: ./machine-learning/Dockerfile platforms: linux/arm/v7,linux/amd64,linux/arm64 - push: ${{ github.event_name == 'pull_request' && github.repository == 'alextran1502/immich' }} + push: ${{ github.event_name == 'pull_request' && github.repository == 'immich-app/immich' }} tags: | altran1502/immich-machine-learning:staging @@ -81,7 +81,7 @@ jobs: id: buildx uses: docker/setup-buildx-action@v2.0.0 - name: Login to Docker Hub - if: ${{ github.repository == 'alextran1502/immich' }} + if: ${{ github.repository == 'immich-app/immich' }} uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} @@ -93,7 +93,7 @@ jobs: file: ./web/Dockerfile platforms: linux/arm/v7,linux/amd64,linux/arm64 target: prod - push: ${{ github.event_name == 'pull_request' && github.repository == 'alextran1502/immich' }} + push: ${{ github.event_name == 'pull_request' && github.repository == 'immich-app/immich' }} tags: | altran1502/immich-web:staging @@ -110,7 +110,7 @@ jobs: id: buildx uses: docker/setup-buildx-action@v2.0.0 - name: Login to Docker Hub - if: ${{ github.repository == 'alextran1502/immich' }} + if: ${{ github.repository == 'immich-app/immich' }} uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} @@ -121,6 +121,6 @@ jobs: context: ./nginx file: ./nginx/Dockerfile platforms: linux/arm/v7,linux/amd64,linux/arm64 - push: ${{ github.event_name == 'pull_request' && github.repository == 'alextran1502/immich' }} + push: ${{ github.event_name == 'pull_request' && github.repository == 'immich-app/immich' }} tags: | altran1502/immich-proxy:staging