Skip to content

Commit 8f2fac6

Browse files
authored
Tag image with latest and version tag (#9)
1 parent 4c4192c commit 8f2fac6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cloudbuild.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ steps:
33
entrypoint: 'bash'
44
args: [
55
'-c',
6-
'DOCKER_BUILDKIT=1 docker build -t gcr.io/$PROJECT_ID/$REPO_NAME:$TAG_NAME --build-arg TOKEN=$$TOKEN . --file=./Dockerfile' ]
6+
'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' ]
77
secretEnv:
88
- 'TOKEN'
99
images:
1010
- 'gcr.io/$PROJECT_ID/$REPO_NAME:$TAG_NAME'
11+
- 'gcr.io/$PROJECT_ID/$REPO_NAME:latest'
1112
timeout: 6000s
1213
options:
1314
env:

0 commit comments

Comments
 (0)