From d662d4bd2b59e360ab3b17375ab7e57d4e9b81b8 Mon Sep 17 00:00:00 2001 From: sasse Date: Wed, 31 Jul 2024 11:34:58 +0200 Subject: [PATCH] ci: use unique image name for deployment --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0d5a7db..45a832a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -93,7 +93,7 @@ jobs: --install \ --namespace='ts4nfdi' \ --set-json='ingress.dns="ts4nfdi-api-gateway.prod.km.k8s.zbmed.de"' \ - --set-json='images.frontend="ghcr.io/ts4nfdi/api-gateway:latest"' \ + --set-json='images.frontend="ghcr.io/${{ github.repository }}:${{ github.event.pull_request.head.sha || github.sha }}"' \ --set-json='ingress.enableSSL="true"' \ --set-json='ingress.certIssuer="letsencrypt-prod"' \ api-gateway-deployment/api-gateway