diff --git a/Makefile b/Makefile index 3f36299..2786ea9 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,12 @@ STORAGE_URL = gitea.bjornmossa.net IMAGE_NAME = $(STORAGE_URL)/radioiceberg/icecast +GIT_TAG = $(shell git describe --tags) login: docker login $(STORAGE_URL) build: - docker build . -t $(IMAGE_NAME) + docker build . -t $(IMAGE_NAME):$(GIT_TAG) push: login docker push $(IMAGE_NAME)