You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
408 B
19 lines
408 B
STORAGE_URL = gitea.bjornmossa.net
|
|
IMAGE_NAME = $(STORAGE_URL)/radioiceberg/icecast
|
|
GIT_TAG = $(shell git describe --abbrev=0 --tags)
|
|
|
|
login:
|
|
docker login $(STORAGE_URL)
|
|
|
|
build:
|
|
docker build . -t $(IMAGE_NAME):$(GIT_TAG)
|
|
|
|
bump-latest:
|
|
docker tag $(IMAGE_NAME):$(GIT_TAG) $(IMAGE_NAME):latest
|
|
|
|
push-current: login
|
|
docker push $(IMAGE_NAME):$(GIT_TAG)
|
|
|
|
push-latest: login
|
|
docker push $(IMAGE_NAME):latest
|