-
-
Save rimusz/ed8db91dded47db779af829eec1c7f4f to your computer and use it in GitHub Desktop.
concurrent docker builds on Google Container Builder
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' | |
| - '-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