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.
website/Makefile

28 lines
575 B

STORAGE_URL = gitea.bjornmossa.net
IMAGE_NAME = $(STORAGE_URL)/radioiceberg/website
GIT_TAG = $(shell git describe --abbrev=0 --tags)
login:
docker login $(STORAGE_URL)
start:
npx live-server ./public
build:
docker build . -t $(IMAGE_NAME):$(GIT_TAG)
build-experimental:
docker build . -t $(IMAGE_NAME):experimental
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
push-experimental: login
docker push $(IMAGE_NAME):experimental