mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-02 18:59:15 -05:00 
			
		
		
		
	Fixed github action to conform with the move to org
This commit is contained in:
		
							parent
							
								
									1ba998aa68
								
							
						
					
					
						commit
						8102e3b3f5
					
				
							
								
								
									
										16
									
								
								.github/workflows/build_push_docker_staging.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								.github/workflows/build_push_docker_staging.yml
									
									
									
									
										vendored
									
									
								
							@ -24,7 +24,7 @@ jobs:
 | 
				
			|||||||
        id: buildx
 | 
					        id: buildx
 | 
				
			||||||
        uses: docker/setup-buildx-action@v2.0.0
 | 
					        uses: docker/setup-buildx-action@v2.0.0
 | 
				
			||||||
      - name: Login to Docker Hub
 | 
					      - name: Login to Docker Hub
 | 
				
			||||||
        if: ${{ github.repository == 'alextran1502/immich' }}
 | 
					        if: ${{ github.repository == 'immich-app/immich' }}
 | 
				
			||||||
        uses: docker/login-action@v2
 | 
					        uses: docker/login-action@v2
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          username: ${{ secrets.DOCKERHUB_USERNAME }}
 | 
					          username: ${{ secrets.DOCKERHUB_USERNAME }}
 | 
				
			||||||
@ -35,7 +35,7 @@ jobs:
 | 
				
			|||||||
          context: ./server
 | 
					          context: ./server
 | 
				
			||||||
          file: ./server/Dockerfile
 | 
					          file: ./server/Dockerfile
 | 
				
			||||||
          platforms: linux/arm/v7,linux/amd64,linux/arm64
 | 
					          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: |
 | 
					          tags: |
 | 
				
			||||||
            altran1502/immich-server:staging
 | 
					            altran1502/immich-server:staging
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -53,7 +53,7 @@ jobs:
 | 
				
			|||||||
        id: buildx
 | 
					        id: buildx
 | 
				
			||||||
        uses: docker/setup-buildx-action@v2.0.0
 | 
					        uses: docker/setup-buildx-action@v2.0.0
 | 
				
			||||||
      - name: Login to Docker Hub
 | 
					      - name: Login to Docker Hub
 | 
				
			||||||
        if: ${{ github.repository == 'alextran1502/immich' }}
 | 
					        if: ${{ github.repository == 'immich-app/immich' }}
 | 
				
			||||||
        uses: docker/login-action@v2
 | 
					        uses: docker/login-action@v2
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          username: ${{ secrets.DOCKERHUB_USERNAME }}
 | 
					          username: ${{ secrets.DOCKERHUB_USERNAME }}
 | 
				
			||||||
@ -64,7 +64,7 @@ jobs:
 | 
				
			|||||||
          context: ./machine-learning
 | 
					          context: ./machine-learning
 | 
				
			||||||
          file: ./machine-learning/Dockerfile
 | 
					          file: ./machine-learning/Dockerfile
 | 
				
			||||||
          platforms: linux/arm/v7,linux/amd64,linux/arm64
 | 
					          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: |
 | 
					          tags: |
 | 
				
			||||||
            altran1502/immich-machine-learning:staging
 | 
					            altran1502/immich-machine-learning:staging
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -81,7 +81,7 @@ jobs:
 | 
				
			|||||||
        id: buildx
 | 
					        id: buildx
 | 
				
			||||||
        uses: docker/setup-buildx-action@v2.0.0
 | 
					        uses: docker/setup-buildx-action@v2.0.0
 | 
				
			||||||
      - name: Login to Docker Hub
 | 
					      - name: Login to Docker Hub
 | 
				
			||||||
        if: ${{ github.repository == 'alextran1502/immich' }}
 | 
					        if: ${{ github.repository == 'immich-app/immich' }}
 | 
				
			||||||
        uses: docker/login-action@v2
 | 
					        uses: docker/login-action@v2
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          username: ${{ secrets.DOCKERHUB_USERNAME }}
 | 
					          username: ${{ secrets.DOCKERHUB_USERNAME }}
 | 
				
			||||||
@ -93,7 +93,7 @@ jobs:
 | 
				
			|||||||
          file: ./web/Dockerfile
 | 
					          file: ./web/Dockerfile
 | 
				
			||||||
          platforms: linux/arm/v7,linux/amd64,linux/arm64
 | 
					          platforms: linux/arm/v7,linux/amd64,linux/arm64
 | 
				
			||||||
          target: prod
 | 
					          target: prod
 | 
				
			||||||
          push: ${{ github.event_name == 'pull_request' && github.repository == 'alextran1502/immich' }}
 | 
					          push: ${{ github.event_name == 'pull_request' && github.repository == 'immich-app/immich' }}
 | 
				
			||||||
          tags: |
 | 
					          tags: |
 | 
				
			||||||
            altran1502/immich-web:staging
 | 
					            altran1502/immich-web:staging
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -110,7 +110,7 @@ jobs:
 | 
				
			|||||||
        id: buildx
 | 
					        id: buildx
 | 
				
			||||||
        uses: docker/setup-buildx-action@v2.0.0
 | 
					        uses: docker/setup-buildx-action@v2.0.0
 | 
				
			||||||
      - name: Login to Docker Hub
 | 
					      - name: Login to Docker Hub
 | 
				
			||||||
        if: ${{ github.repository == 'alextran1502/immich' }}
 | 
					        if: ${{ github.repository == 'immich-app/immich' }}
 | 
				
			||||||
        uses: docker/login-action@v2
 | 
					        uses: docker/login-action@v2
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          username: ${{ secrets.DOCKERHUB_USERNAME }}
 | 
					          username: ${{ secrets.DOCKERHUB_USERNAME }}
 | 
				
			||||||
@ -121,6 +121,6 @@ jobs:
 | 
				
			|||||||
          context: ./nginx
 | 
					          context: ./nginx
 | 
				
			||||||
          file: ./nginx/Dockerfile
 | 
					          file: ./nginx/Dockerfile
 | 
				
			||||||
          platforms: linux/arm/v7,linux/amd64,linux/arm64
 | 
					          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: |
 | 
					          tags: |
 | 
				
			||||||
            altran1502/immich-proxy:staging
 | 
					            altran1502/immich-proxy:staging
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user