mirror of
				https://gitlab.com/alemaire/buildx.git
				synced 2025-01-17 13:58:19 +00:00 
			
		
		
		
	Update Makefile
This commit is contained in:
		| @@ -2,6 +2,7 @@ NAMESPACE=alemairebe | ||||
| VERSION=1.32.2 | ||||
|  | ||||
| IMAGE=synapse | ||||
| .ONESHELL: # Applies to every targets in the file! | ||||
|  | ||||
| push: get decompress build | ||||
|  | ||||
| @@ -12,7 +13,8 @@ decompress: | ||||
| 	tar -xf v$(VERSION).tar.gz | ||||
|  | ||||
| build: | ||||
| 	cd ${IMAGE}-${VERSION} && pwd | ||||
| 	docker buildx build --platform linux/amd64,linux/arm64,linux/arm --push \ | ||||
|       --cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \ | ||||
| 	  --cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \ | ||||
| 	  --tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) ${IMAGE}-$(VERSION)/docker | ||||
|       --cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \ | ||||
|       --tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) docker | ||||
|   | ||||
		Reference in New Issue
	
	Block a user