mirror of
				https://gitea.0xace.cc/rust/github-release-bot.git
				synced 2025-11-03 21:47:24 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			289 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			289 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
VERSION=0.1.7
 | 
						|
BUILD=1
 | 
						|
IMAGE=github-release-bot
 | 
						|
ifneq ($(REGISTRY),)
 | 
						|
_REGISTRY =$(REGISTRY)/
 | 
						|
endif
 | 
						|
 | 
						|
.PHONY: build push all
 | 
						|
 | 
						|
build:
 | 
						|
	docker build -t $(_REGISTRY)$(IMAGE):$(VERSION)-$(BUILD) -f docker/Dockerfile .
 | 
						|
 | 
						|
push:
 | 
						|
	docker push $(_REGISTRY)$(IMAGE):$(VERSION)-$(BUILD)
 | 
						|
 | 
						|
all: build push
 |