Created
September 21, 2017 13:18
-
-
Save Philmod/d80fd9e123881103b77896b7f83e1b87 to your computer and use it in GitHub Desktop.
concurrent docker builds on Google Container Builder
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' | |
- '-f' | |
- 'Dockerfile.alpine' | |
- '-t' | |
- 'gcr.io/$PROJECT_ID/large-docker-alpine:latest' | |
- '.' | |
waitFor: ['-'] | |
- name: 'gcr.io/cloud-builders/docker' | |
args: | |
- 'build' | |
- '-f' | |
- 'Dockerfile.ubuntu' | |
- '-t' | |
- 'gcr.io/$PROJECT_ID/large-docker-ubuntu:latest' | |
- '.' | |
waitFor: ['-'] | |
images: | |
- 'gcr.io/$PROJECT_ID/large-docker-alpine:latest' | |
- 'gcr.io/$PROJECT_ID/large-docker-ubuntu:latest' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment