kanidm: add custom image with kubectl for kubernetes install with helm chart
This commit is contained in:
16
kanidm/Makefile
Normal file
16
kanidm/Makefile
Normal file
@ -0,0 +1,16 @@
|
||||
VERSION=1.6.2
|
||||
BUILD=1
|
||||
IMAGE=kanidm
|
||||
REGISTRY=gitea.geekhome.org/ghp
|
||||
|
||||
.PHONY: build push all
|
||||
|
||||
build:
|
||||
docker build $(NO_CACHE) \
|
||||
--build-arg KANIDM_VERSION=v$(VERSION) \
|
||||
-t $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD) .
|
||||
|
||||
push:
|
||||
docker push $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD)
|
||||
|
||||
all: build push
|
Reference in New Issue
Block a user