iamkonstantin/Makefile

12 lines
No EOL
423 B
Makefile

.PHONY: help bump publish
VERSION = 1.9.15
help:
@perl -nle'print $& if m{^[a-zA-Z_-]+:.*?## .*$$}' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
publish:
# something to try: --provenance=false
@docker buildx build -t code.headbright.be/konstantin/iamkonstantin:$(VERSION) --platform linux/arm64 --push .
bump:
@bash ./bump_version.sh
upgrade: build publish