mirror of
				https://gitlab.com/alemaire/buildx.git
				synced 2025-01-17 13:58:19 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			455 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			455 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| include mc/mc.version
 | |
| 
 | |
| mc-nopush:
 | |
| 	docker buildx build --platform linux/amd64 --load \
 | |
| 	    --build-arg MC_VERSION=$(MC_VERSION) \
 | |
| 	    --tag alemairebe/mc:$(MC_VERSION) mc
 | |
| 
 | |
| mc:
 | |
| 	docker buildx build --platform linux/amd64,linux/arm64,linux/arm,linux/ppc64le --push \
 | |
| 	    --build-arg MC_VERSION=$(MC_VERSION) \
 | |
| 	    --cache-from=type=registry,ref=alemairebe/mc \
 | |
| 	    --cache-to=type=registry,ref=alemairebe/mc \
 | |
| 	    --tag alemairebe/mc:$(MC_VERSION) mc
 |