mirror of
				https://github.com/signcl/docsearch-scraper-action.git
				synced 2025-10-31 08:41:47 +08:00 
			
		
		
		
	feat: separate base image to make github action faster
This commit is contained in:
		
							
								
								
									
										22
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | ||||
| all: build | ||||
|  | ||||
| build-base: | ||||
| 	docker build -f Dockerfile.base -t openbayes/docsearch-scraper-action-base:latest . | ||||
|  | ||||
| build: | ||||
| 	docker build -t openbayes/docsearch-scraper-action:latest . | ||||
|  | ||||
| run: | ||||
| 	docker run --rm -it --name docsearch-scraper-action openbayes/docsearch-scraper-action:latest | ||||
|  | ||||
| push-base: | ||||
| 	docker push openbayes/docsearch-scraper-action-base:latest | ||||
|  | ||||
| push: | ||||
| 	docker push openbayes/docsearch-scraper-action:latest | ||||
|  | ||||
| stop: | ||||
| 	docker rm -f docsearch-scraper-action | ||||
|  | ||||
| clean: | ||||
| 	docker rmi openbayes/docsearch-scraper-action:latest | ||||
		Reference in New Issue
	
	Block a user