Skip to content

Commit

Permalink
Fix release build: pull the image before tagging
Browse files Browse the repository at this point in the history
The image has to be pulled before it can be tagged.
  • Loading branch information
Aaron Kemp committed Mar 14, 2019
1 parent 19b6249 commit a61ebf3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cloudbuild_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
# (gcp-variant-transforms).

steps:
- name: 'gcr.io/cloud-builders/docker'
args:
- 'pull'
- 'gcr.io/${PROJECT_ID}/gcp-variant-transforms:${COMMIT_SHA}'
id: 'pull-image'

- name: 'gcr.io/cloud-builders/docker'
args:
- 'tag'
Expand Down

0 comments on commit a61ebf3

Please sign in to comment.