diff --git a/cloudbuild.yaml b/cloudbuild.yaml index 737f5f43..63e2cfd3 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -3,11 +3,12 @@ steps: entrypoint: 'bash' args: [ '-c', - 'DOCKER_BUILDKIT=1 docker build -t gcr.io/$PROJECT_ID/$REPO_NAME:$TAG_NAME --build-arg TOKEN=$$TOKEN . --file=./Dockerfile' ] + 'DOCKER_BUILDKIT=1 docker build -t gcr.io/$PROJECT_ID/$REPO_NAME:latest -t gcr.io/$PROJECT_ID/$REPO_NAME:$TAG_NAME --build-arg TOKEN=$$TOKEN . --file=./Dockerfile' ] secretEnv: - 'TOKEN' images: - 'gcr.io/$PROJECT_ID/$REPO_NAME:$TAG_NAME' + - 'gcr.io/$PROJECT_ID/$REPO_NAME:latest' timeout: 6000s options: env: