Last active
October 4, 2018 15:19
-
-
Save ShakataGaNai/d3276aaf2cdc424f77e0dd5d8e61e1f3 to your computer and use it in GitHub Desktop.
A sample cloudbuild.yml - details at https://obviate.io/?p=7913
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/yourorg/mystaticsite:$COMMIT_SHA', '.' ] | |
- name: 'gcr.io/cloud-builders/docker' | |
args: [ 'build', '-t', 'gcr.io/yourorg/mystaticsite:latest', '.' ] | |
images: | |
- 'gcr.io/yourorg/mystaticsite:$COMMIT_SHA' | |
- 'gcr.io/yourorg/mystaticsite:latest' | |
tags: | |
- "cloudbuild" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment