From 7eb6548e02c9f9161a2d7829d8b886dd8c610e7b Mon Sep 17 00:00:00 2001 From: TK Kiatkungwanglai Date: Fri, 7 Dec 2018 12:09:34 -0800 Subject: [PATCH] Adjust cloudbuild-tag.yaml to copy sha_ artifacts from gcr.io/marketplace-k8s-app-tools/. (#279) * Adjust cloudbuild-tag.yaml to copy sha_ artifacts from gcr.io/marketplace-k8s-app-tools/... * Tag correct image (rather than non-existent one). --- cloudbuild-tag.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/cloudbuild-tag.yaml b/cloudbuild-tag.yaml index 7e104420..c33bb749 100644 --- a/cloudbuild-tag.yaml +++ b/cloudbuild-tag.yaml @@ -5,17 +5,17 @@ steps: args: - -exc - | - docker pull gcr.io/$PROJECT_ID/k8s/dev:sha_$COMMIT_SHA - docker tag gcr.io/$PROJECT_ID/k8s/dev:sha_$COMMIT_SHA gcr.io/$PROJECT_ID/k8s/dev:$TAG_NAME + docker pull gcr.io/marketplace-k8s-app-tools/k8s/dev:sha_$COMMIT_SHA + docker tag gcr.io/marketplace-k8s-app-tools/k8s/dev:sha_$COMMIT_SHA gcr.io/$PROJECT_ID/k8s/dev:$TAG_NAME - docker pull gcr.io/$PROJECT_ID/k8s/deployer_helm:sha_$COMMIT_SHA - docker tag gcr.io/$PROJECT_ID/k8s/deployer_helm:sha_$COMMIT_SHA gcr.io/$PROJECT_ID/k8s/deployer_helm:$TAG_NAME + docker pull gcr.io/marketplace-k8s-app-tools/k8s/deployer_helm:sha_$COMMIT_SHA + docker tag gcr.io/marketplace-k8s-app-tools/k8s/deployer_helm:sha_$COMMIT_SHA gcr.io/$PROJECT_ID/k8s/deployer_helm:$TAG_NAME - docker pull gcr.io/$PROJECT_ID/k8s/deployer_helm/onbuild:sha_$COMMIT_SHA - docker tag gcr.io/$PROJECT_ID/k8s/deployer_helm/onbuild:sha_$COMMIT_SHA gcr.io/$PROJECT_ID/k8s/deployer_helm/onbuild:$TAG_NAME + docker pull gcr.io/marketplace-k8s-app-tools/k8s/deployer_helm/onbuild:sha_$COMMIT_SHA + docker tag gcr.io/marketplace-k8s-app-tools/k8s/deployer_helm/onbuild:sha_$COMMIT_SHA gcr.io/$PROJECT_ID/k8s/deployer_helm/onbuild:$TAG_NAME - docker pull gcr.io/$PROJECT_ID/k8s/deployer_envsubst:sha_$COMMIT_SHA - docker tag gcr.io/$PROJECT_ID/k8s/deployer_envsubst:sha_$COMMIT_SHA gcr.io/$PROJECT_ID/k8s/deployer_envsubst:$TAG_NAME + docker pull gcr.io/marketplace-k8s-app-tools/k8s/deployer_envsubst:sha_$COMMIT_SHA + docker tag gcr.io/marketplace-k8s-app-tools/k8s/deployer_envsubst:sha_$COMMIT_SHA gcr.io/$PROJECT_ID/k8s/deployer_envsubst:$TAG_NAME images: - gcr.io/$PROJECT_ID/k8s/dev:$TAG_NAME