mirror of
https://gitea.0xace.cc/rust/github-release-bot.git
synced 2024-11-25 13:56:39 +00:00
16 lines
263 B
Makefile
16 lines
263 B
Makefile
VERSION=0.1.0
|
|
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
|