From 9f66f52169dbe7a69164aa6347040653a143d212 Mon Sep 17 00:00:00 2001 From: jayonthenet Date: Thu, 11 Jul 2024 00:49:23 +0200 Subject: [PATCH] Added 5min as cloud provider for build Signed-off-by: jayonthenet --- .github/workflows/deploy.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 54345de..eab1d98 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -104,6 +104,11 @@ jobs: gcloud auth configure-docker ${{ env.GCP_GAR_HOST }} --quiet echo "CONTAINER_REGISTRY=${{ env.GCP_GAR_NAME }}" >> "$GITHUB_ENV" + - if: ${{ vars.CLOUD_PROVIDER == '5min' }} + name: define registry + run: | + echo "CONTAINER_REGISTRY=localhost:5001" >> "$GITHUB_ENV" + - name: Set Tag with SHA run: echo "TAG=`echo $GITHUB_SHA | cut -c 1-7`" >> $GITHUB_ENV