Skip to content

Instantly share code, notes, and snippets.

@Philmod
Created January 12, 2019 16:15
Show Gist options
  • Save Philmod/9939868ffe976103a3df3a3d8e8729cf to your computer and use it in GitHub Desktop.
Save Philmod/9939868ffe976103a3df3a3d8e8729cf to your computer and use it in GitHub Desktop.
many docker tags
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