-
-
Save nk-gears/8407083cf1d5871f7cb438b44f2a5fcd to your computer and use it in GitHub Desktop.
A sample cloudbuild.yml - details at https://obviate.io/?p=7913
This file contains hidden or 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