publish-registry ci
This commit is contained in:
7
Makefile
7
Makefile
@@ -1,7 +1,8 @@
|
|||||||
.DEFAULT_GOAL := all
|
.DEFAULT_GOAL := all
|
||||||
|
|
||||||
all: clean docker publish-kind publish-registry
|
all: clean docker publish-kind
|
||||||
|
|
||||||
|
ci: clean docker publish-registry
|
||||||
|
|
||||||
linux:
|
linux:
|
||||||
./local_run.sh
|
./local_run.sh
|
||||||
@@ -28,13 +29,13 @@ clean:
|
|||||||
|
|
||||||
docker:
|
docker:
|
||||||
DOCKER_BUILDKIT=1 docker build -t oc-front --build-arg HOST=$(HOST) --build-arg AUTH_MODE=true -f Dockerfile .
|
DOCKER_BUILDKIT=1 docker build -t oc-front --build-arg HOST=$(HOST) --build-arg AUTH_MODE=true -f Dockerfile .
|
||||||
docker tag oc-front:latest oc/oc-front:0.0.1
|
docker tag opencloudregistry/oc-front:latest oc/oc-front:0.0.1
|
||||||
|
|
||||||
publish-kind:
|
publish-kind:
|
||||||
kind load docker-image oc/oc-front:0.0.1 --name $(CLUSTER_NAME) | true
|
kind load docker-image oc/oc-front:0.0.1 --name $(CLUSTER_NAME) | true
|
||||||
|
|
||||||
publish-registry:
|
publish-registry:
|
||||||
@echo "TODO"
|
docker push opencloudregistry/oc-front:latest
|
||||||
|
|
||||||
docker-deploy:
|
docker-deploy:
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
|
|||||||
Reference in New Issue
Block a user