24 lines
457 B
Makefile
24 lines
457 B
Makefile
|
.DEFAULT_GOAL := all
|
||
|
|
||
|
build: clean
|
||
|
bee pack
|
||
|
|
||
|
run:
|
||
|
./oc-aggregator
|
||
|
|
||
|
clean:
|
||
|
rm -rf oc-aggregator
|
||
|
|
||
|
docker:
|
||
|
DOCKER_BUILDKIT=1 docker build -t oc/oc-aggregator:0.0.1 -f Dockerfile .
|
||
|
docker tag oc/oc-aggregator:0.0.1 oc/oc-aggregator:latest
|
||
|
|
||
|
publish-kind:
|
||
|
kind load docker-image oc/oc-aggregator:0.0.1 --name opencloud
|
||
|
|
||
|
publish-registry:
|
||
|
@echo "TODO"
|
||
|
|
||
|
all: docker publish-kind publish-registry
|
||
|
|
||
|
.PHONY: build run clean docker publish-kind publish-registry
|