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