mirror of
https://gitea.0xace.cc/rust/github-release-bot.git
synced 2025-06-28 19:43:08 +00:00
first commit
This commit is contained in:
15
Makefile
Normal file
15
Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
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
|
Reference in New Issue
Block a user