github-release-bot/Makefile

17 lines
289 B
Makefile
Raw Normal View History

VERSION=0.1.7
2023-12-17 22:06:44 +00:00
BUILD=1
2021-07-31 20:04:12 +00:00
IMAGE=github-release-bot
ifneq ($(REGISTRY),)
_REGISTRY =$(REGISTRY)/
endif
.PHONY: build push all
build:
2023-12-17 22:06:44 +00:00
docker build -t $(_REGISTRY)$(IMAGE):$(VERSION)-$(BUILD) -f docker/Dockerfile .
2021-07-31 20:04:12 +00:00
push:
2023-12-17 22:06:44 +00:00
docker push $(_REGISTRY)$(IMAGE):$(VERSION)-$(BUILD)
2021-07-31 20:04:12 +00:00
all: build push