publish registry
This commit is contained in:
8
Makefile
8
Makefile
@@ -22,19 +22,21 @@ clean:
|
|||||||
|
|
||||||
docker:
|
docker:
|
||||||
DOCKER_BUILDKIT=1 docker build -t oc-shared -f Dockerfile . --build-arg=HOST=$(HOST)
|
DOCKER_BUILDKIT=1 docker build -t oc-shared -f Dockerfile . --build-arg=HOST=$(HOST)
|
||||||
docker tag oc-shared:latest oc/oc-shared:0.0.1
|
docker tag opencloudregistry/oc-shared:latest oc/oc-shared:0.0.1
|
||||||
|
|
||||||
publish-kind:
|
publish-kind:
|
||||||
kind load docker-image oc/oc-shared:0.0.1 --name $(CLUSTER_NAME) | true
|
kind load docker-image oc/oc-shared:0.0.1 --name $(CLUSTER_NAME) | true
|
||||||
|
|
||||||
publish-registry:
|
publish-registry:
|
||||||
@echo "TODO"
|
docker push opencloudregistry/oc-shared:latest
|
||||||
|
|
||||||
docker-deploy:
|
docker-deploy:
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
|
|
||||||
run-docker: docker publish-kind publish-registry docker-deploy
|
run-docker: docker publish-kind publish-registry docker-deploy
|
||||||
|
|
||||||
all: docker publish-kind publish-registry
|
all: docker publish-kind
|
||||||
|
|
||||||
|
ci: docker publish-registry
|
||||||
|
|
||||||
.PHONY: build run clean docker publish-kind publish-registry
|
.PHONY: build run clean docker publish-kind publish-registry
|
||||||
|
|||||||
Reference in New Issue
Block a user