Created
January 12, 2019 16:15
-
-
Save Philmod/9939868ffe976103a3df3a3d8e8729cf to your computer and use it in GitHub Desktop.
many docker tags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
steps: | |
- name: 'gcr.io/cloud-builders/docker' | |
args: ['build', '-t', 'gcr.io/$PROJECT_ID/my-image:latest', '-t', 'gcr.io/$PROJECT_ID/my-image:$SHORT_SHA', '.'] | |
images: ['gcr.io/$PROJECT_ID/my-image:latest', 'gcr.io/$PROJECT_ID/my-image:$SHORT_SHA'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment