github-release-bot/Makefile

16 lines
263 B
Makefile
Raw Normal View History

2023-03-05 08:00:07 +00:00
VERSION=0.1.4
2021-07-31 20:04:12 +00:00
IMAGE=github-release-bot
ifneq ($(REGISTRY),)
_REGISTRY =$(REGISTRY)/
endif
.PHONY: build push all
build:
docker build -t $(_REGISTRY)$(IMAGE):$(VERSION) -f docker/Dockerfile .
push:
docker push $(_REGISTRY)$(IMAGE):$(VERSION)
all: build push