parent
96377166b0
commit
94e3a20bdb
@ -1,11 +1,12 @@
|
|||||||
STORAGE_URL = gitea.bjornmossa.net
|
STORAGE_URL = gitea.bjornmossa.net
|
||||||
IMAGE_NAME = $(STORAGE_URL)/radioiceberg/icecast
|
IMAGE_NAME = $(STORAGE_URL)/radioiceberg/icecast
|
||||||
|
GIT_TAG = $(shell git describe --tags)
|
||||||
|
|
||||||
login:
|
login:
|
||||||
docker login $(STORAGE_URL)
|
docker login $(STORAGE_URL)
|
||||||
|
|
||||||
build:
|
build:
|
||||||
docker build . -t $(IMAGE_NAME)
|
docker build . -t $(IMAGE_NAME):$(GIT_TAG)
|
||||||
|
|
||||||
push: login
|
push: login
|
||||||
docker push $(IMAGE_NAME)
|
docker push $(IMAGE_NAME)
|
||||||
|
|||||||
Reference in new issue