diff --git a/Makefile b/Makefile index eaa32247..30fa7254 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ build-production: ## Build the production docker image. --tag registry.tanshu.com/brewman:latest \ $(if $(TAG),--tag registry.tanshu.com/brewman:$(TAG)) \ --push \ - git@git.tanshu.com:tanshu/brewman.git + git@git.tanshu.com:tanshu/brewman.git$(if $(TAG),#v$(TAG)) .PHONY: build-check build-check: ## Multi-arch build without push (compile check) diff --git a/version_bump.sh b/version_bump.sh index aacfe6c7..eb889d5b 100755 --- a/version_bump.sh +++ b/version_bump.sh @@ -44,4 +44,5 @@ else echo "Usage: $0 " exit 1 fi +git push git push --tags