Skip to content

Commit 8bbcecb

Browse files
committed
Make sure do-release always uses the release_registry
I often set REGISTRY env var locally, so this catches me often when I do releases.
1 parent 0fba464 commit 8bbcecb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ do-release:
325325
cp $(agones_path)/sdks/cpp/bin/agonessdk-$(RELEASE_VERSION)-src.zip $(agones_path)/release
326326
cd $(agones_path) && zip -r ./release/agones-install-$(RELEASE_VERSION).zip ./README.md ./install ./LICENSE
327327
$(MAKE) push-chart
328-
$(MAKE) gcloud-auth-docker push VERSION=$(RELEASE_VERSION)
328+
$(MAKE) gcloud-auth-docker push REGISTRY=$(release_registry) VERSION=$(RELEASE_VERSION)
329329
git push -u upstream release-$(RELEASE_VERSION)
330330
@echo "Now go make the $(RELEASE_VERSION) release on Github!"
331331

0 commit comments

Comments
 (0)