Merge branch 'main' of https://cloud.o-forge.io/core/oc-scheduler into main
This commit is contained in:
		
							
								
								
									
										11
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								Makefile
									
									
									
									
									
								
							@@ -21,15 +21,20 @@ clean:
 | 
			
		||||
	rm -rf oc-peer.tar.gz
 | 
			
		||||
 | 
			
		||||
docker:
 | 
			
		||||
	DOCKER_BUILDKIT=1 docker build -t oc/oc-scheduler:0.0.1 -f Dockerfile .
 | 
			
		||||
	docker tag oc/oc-scheduler:0.0.1 oc/oc-scheduler:latest
 | 
			
		||||
	DOCKER_BUILDKIT=1 docker build -t oc-scheduler -f Dockerfile . --build-arg=HOST=$(HOST)
 | 
			
		||||
	docker tag oc-scheduler:latest oc/oc-scheduler:0.0.1
 | 
			
		||||
 | 
			
		||||
publish-kind:
 | 
			
		||||
	kind load docker-image oc/oc-scheduler:0.0.1 --name opencloud
 | 
			
		||||
	kind load docker-image oc/oc-scheduler:0.0.1 --name opencloud | true
 | 
			
		||||
 | 
			
		||||
publish-registry:
 | 
			
		||||
	@echo "TODO"
 | 
			
		||||
 | 
			
		||||
docker-deploy:
 | 
			
		||||
	docker compose up -d
 | 
			
		||||
 | 
			
		||||
run-docker: docker publish-kind publish-registry docker-deploy
 | 
			
		||||
 | 
			
		||||
all: docker publish-kind publish-registry
 | 
			
		||||
 | 
			
		||||
.PHONY: build run clean docker publish-kind publish-registry
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user