publish-registry ci

This commit is contained in:
mr
2026-02-05 12:04:05 +01:00
parent 2bcc9f6732
commit e2eb415c6e

View File

@@ -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