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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

19 lines
397 B

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):$(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