From 7a8eb6c517e84a85d8472c8a80958cfa00713a19 Mon Sep 17 00:00:00 2001 From: Nick Cabatoff Date: Sun, 26 Aug 2018 19:53:57 -0400 Subject: [PATCH] Fix docker tag version to omit the leading 'v', in the build phase also. --- cloudbuild.release.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cloudbuild.release.yaml b/cloudbuild.release.yaml index 75cbc97..3fc9963 100644 --- a/cloudbuild.release.yaml +++ b/cloudbuild.release.yaml @@ -18,8 +18,7 @@ steps: args: - build - --file=Dockerfile - - --tag=gcr.io/$PROJECT_ID/process-exporter:$TAG_NAME - - --tag=ncabatoff/process-exporter:$TAG_NAME + - --tag=ncabatoff/process-exporter:`echo $TAG_NAME|sed s/^v//` - . # Login to docker hub