adjustment
This commit is contained in:
parent
af6c295190
commit
f5794f725a
11
Makefile
11
Makefile
@ -21,15 +21,20 @@ clean:
|
|||||||
rm -rf oc-workspace.tar.gz
|
rm -rf oc-workspace.tar.gz
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
DOCKER_BUILDKIT=1 docker build -t oc/oc-workspace:0.0.1 -f Dockerfile .
|
DOCKER_BUILDKIT=1 docker build -t oc-workspace -f Dockerfile . --build-arg=HOST=$(HOST)
|
||||||
docker tag oc/oc-workspace:0.0.1 oc/oc-workspace:latest
|
docker tag oc-workspace:latest oc/oc-workspace:0.0.1
|
||||||
|
|
||||||
publish-kind:
|
publish-kind:
|
||||||
kind load docker-image oc/oc-workspace:0.0.1 --name opencloud
|
kind load docker-image oc/oc-workspace:0.0.1 --name opencloud | true
|
||||||
|
|
||||||
publish-registry:
|
publish-registry:
|
||||||
@echo "TODO"
|
@echo "TODO"
|
||||||
|
|
||||||
|
docker-deploy:
|
||||||
|
docker compose up -d
|
||||||
|
|
||||||
|
run-docker: docker publish-kind publish-registry docker-deploy
|
||||||
|
|
||||||
all: docker publish-kind publish-registry
|
all: docker publish-kind publish-registry
|
||||||
|
|
||||||
.PHONY: build run clean docker publish-kind publish-registry
|
.PHONY: build run clean docker publish-kind publish-registry
|
||||||
|
Loading…
Reference in New Issue
Block a user