26 lines
497 B
Makefile
26 lines
497 B
Makefile
.DEFAULT_GOAL := all
|
|
|
|
build: clean
|
|
bee pack
|
|
|
|
run:
|
|
./oc-discovery
|
|
|
|
clean:
|
|
rm -rf oc-discovery
|
|
|
|
docker:
|
|
DOCKER_BUILDKIT=1 docker build -t oc-discovery -f Dockerfile .
|
|
docker tag oc-discovery opencloudregistry/oc-discovery:latest
|
|
|
|
publish-kind:
|
|
kind load docker-image oc/oc-discovery:0.0.1 --name opencloud
|
|
|
|
publish-registry:
|
|
docker push opencloudregistry/oc-discovery:latest
|
|
|
|
all: docker publish-kind
|
|
|
|
ci: docker publish-registry
|
|
|
|
.PHONY: build run clean docker publish-kind publish-registry |