Skip to content

Commit

Permalink
Add GCR image tagging and pushing
Browse files Browse the repository at this point in the history
  • Loading branch information
caseydavenport committed May 29, 2018
1 parent e0e2780 commit 7b1f0dd
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,10 @@ release-once-tagged:
docker tag calico/typha$(ARCHTAG) calico/typha$(ARCHTAG):$(VERSION)
docker tag calico/typha$(ARCHTAG) quay.io/calico/typha$(ARCHTAG):latest
docker tag calico/typha$(ARCHTAG):$(VERSION) quay.io/calico/typha$(ARCHTAG):$(VERSION)
docker tag calico/typha$(ARCHTAG):$(VERSION) gcr.io/projectcalico-org/typha$(ARCHTAG):$(VERSION)
docker tag calico/typha$(ARCHTAG):$(VERSION) eu.gcr.io/projectcalico-org/typha$(ARCHTAG):$(VERSION)
docker tag calico/typha$(ARCHTAG):$(VERSION) asia.gcr.io/projectcalico-org/typha$(ARCHTAG):$(VERSION)
docker tag calico/typha$(ARCHTAG):$(VERSION) us.gcr.io/projectcalico-org/typha$(ARCHTAG):$(VERSION)
@echo
@echo "Checking built typha has correct version..."
@if docker run quay.io/calico/typha$(ARCHTAG):$(VERSION) calico-typha --version | grep -q '$(VERSION)$$'; \
Expand Down Expand Up @@ -328,10 +332,14 @@ release-once-tagged:
@echo "- Click the 'This is a pre-release' checkbox, if appropriate"
@echo "- Click 'Publish release'"
@echo
@echo "Then, push the versioned docker images to Dockerhub and Quay:"
@echo "Then, push the versioned docker images to Dockerhub, Quay, and GCR:"
@echo
@echo "- docker push calico/typha$(ARCHTAG):$(VERSION)"
@echo "- docker push quay.io/calico/typha$(ARCHTAG):$(VERSION)"
@echo " docker push calico/typha$(ARCHTAG):$(VERSION)"
@echo " docker push quay.io/calico/typha$(ARCHTAG):$(VERSION)"
@echo " docker push gcr.io/projectcalico-org/typha$(ARCHTAG):$(VERSION)"
@echo " docker push eu.gcr.io/projectcalico-org/typha$(ARCHTAG):$(VERSION)"
@echo " docker push asia.gcr.io/projectcalico-org/typha$(ARCHTAG):$(VERSION)"
@echo " docker push us.gcr.io/projectcalico-org/typha$(ARCHTAG):$(VERSION)"
@echo
@echo "If this is the latest release from the most recent stable"
@echo "release series, also push the 'latest' tag:"
Expand Down

0 comments on commit 7b1f0dd

Please sign in to comment.