Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build docker images and tag them with the branch #547

Merged
merged 2 commits into from
Oct 24, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Build docker images and tag them with the branch
  • Loading branch information
nambrot committed Oct 23, 2019
commit f7b0731b778ff4d03b69ad63359ad5995793ced5
3 changes: 2 additions & 1 deletion cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
steps:
- name: 'gcr.io/cloud-builders/docker'
args: [ 'build', '-t', 'us.gcr.io/$PROJECT_ID/geth:$COMMIT_SHA', '.' ]
args: [ 'build', '-t', 'us.gcr.io/$PROJECT_ID/geth:$COMMIT_SHA', '-t', 'us.gcr.io/$PROJECT_ID/geth:$BRANCH_NAME', '.' ]
waitFor: ["-"]
- name: 'gcr.io/cloud-builders/docker'
args: [ 'build', '-t', 'gcr.io/$PROJECT_ID/geth-all:$COMMIT_SHA', '-f', 'Dockerfile.alltools', '.' ]
waitFor: ["-"]
images:
- 'us.gcr.io/$PROJECT_ID/geth:$COMMIT_SHA'
- 'us.gcr.io/$PROJECT_ID/geth:$BRANCH_NAME'
- 'gcr.io/$PROJECT_ID/geth-all:$COMMIT_SHA'
timeout: 2700s