From 071efba259823bf010762df36328fc69a5b934da Mon Sep 17 00:00:00 2001 From: Piotr Kozimor Date: Wed, 10 Aug 2022 14:34:32 +0200 Subject: [PATCH] Use TAG_NAME --- .cloudbuild/prod.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.cloudbuild/prod.yaml b/.cloudbuild/prod.yaml index 178585ec5..cbde9043a 100644 --- a/.cloudbuild/prod.yaml +++ b/.cloudbuild/prod.yaml @@ -1,12 +1,12 @@ steps: - name: gcr.io/cloud-builders/docker - args: ['build', '-t', 'gcr.io/$PROJECT_ID/dendrite-monolith:$TAG', '-f', 'build/docker/Dockerfile.monolith', '.'] + args: ['build', '-t', 'gcr.io/$PROJECT_ID/dendrite-monolith:$TAG_NAME', '-f', 'build/docker/Dockerfile.monolith', '.'] - name: gcr.io/cloud-builders/kubectl - args: ['set', 'image', 'deployment/dendrite', 'dendrite=gcr.io/$PROJECT_ID/dendrite-monolith:$TAG'] + args: ['set', 'image', 'deployment/dendrite', 'dendrite=gcr.io/$PROJECT_ID/dendrite-monolith:$TAG_NAME'] env: - CLOUDSDK_CORE_PROJECT=globekeeper-production - CLOUDSDK_COMPUTE_ZONE=europe-west2-a - CLOUDSDK_CONTAINER_CLUSTER=synapse-production images: - - gcr.io/$PROJECT_ID/dendrite-monolith:$TAG + - gcr.io/$PROJECT_ID/dendrite-monolith:$TAG_NAME timeout: 360s