Forráskód Böngészése

Fixed incorrect image name when push to dockerhub

Alex Tran 3 éve
szülő
commit
b6579cd38e
1 módosított fájl, 5 hozzáadás és 3 törlés
  1. 5 3
      .github/workflows/build_push_server_release.yml

+ 5 - 3
.github/workflows/build_push_server_release.yml

@@ -1,4 +1,4 @@
-name: Build Server - Release
+name: Build and push Docker image - Release
 
 
 on:
 on:
   workflow_dispatch:
   workflow_dispatch:
@@ -41,7 +41,8 @@ jobs:
           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' }}
           push: ${{ github.event_name != 'pull_request' }}
-          tags: ${{ steps.previoustag.outputs.tag }}
+          tags: |
+            altran1502/immich-server:${{ steps.previoustag.outputs.tag }}
 
 
   build_and_push_microservice_release:
   build_and_push_microservice_release:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
@@ -78,4 +79,5 @@ jobs:
           file: ./microservices/Dockerfile
           file: ./microservices/Dockerfile
           platforms: linux/arm/v7,linux/amd64
           platforms: linux/arm/v7,linux/amd64
           push: ${{ github.event_name != 'pull_request' }}
           push: ${{ github.event_name != 'pull_request' }}
-          tags: ${{ steps.previoustag.outputs.tag }}
+          tags: |
+              altran1502/immich-microservices:${{ steps.previoustag.outputs.tag }}