add radicle images
This commit is contained in:
22
radicle-httpd/Makefile
Normal file
22
radicle-httpd/Makefile
Normal file
@@ -0,0 +1,22 @@
|
||||
VERSION=0.22.0
|
||||
BUILD=1
|
||||
IMAGE=radicle-httpd
|
||||
REGISTRY=gitea.geekhome.org/ghp
|
||||
|
||||
.PHONY: build push all
|
||||
|
||||
ifeq ($(shell command -v podman 2> /dev/null),)
|
||||
CMD=docker
|
||||
else
|
||||
CMD=podman
|
||||
endif
|
||||
|
||||
build:
|
||||
$(CMD) build $(NO_CACHE) \
|
||||
--build-arg RADICLE_HTTPD_VERSION=$(VERSION) \
|
||||
-t $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD) .
|
||||
|
||||
push:
|
||||
$(CMD) push $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD)
|
||||
|
||||
all: build push
|
||||
Reference in New Issue
Block a user