mirror of
				https://gitlab.com/alemaire/buildx.git
				synced 2025-01-17 13:58:19 +00:00 
			
		
		
		
	add dendrite
This commit is contained in:
		
							
								
								
									
										21
									
								
								dendrite/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								dendrite/Makefile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| NAMESPACE=alemairebe | ||||
| include version | ||||
|  | ||||
| IMAGE=dendrite | ||||
|  | ||||
| nopush: git-clone | ||||
| 	docker buildx build --platform linux/amd64 --load \ | ||||
| 	    --build-arg VERSION=$(VERSION) \ | ||||
|     	    --tag ${NAMESPACE}/${IMAGE}:$(VERSION) \ | ||||
| 	    --tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) . | ||||
|  | ||||
| push: git-clone | ||||
| 	docker buildx build --platform linux/amd64,linux/arm64,linux/arm,linux/ppc64le --push \ | ||||
| 	    --build-arg VERSION=$(VERSION) \ | ||||
|     	    --cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \ | ||||
| 	    --cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \ | ||||
| 	    --tag ${NAMESPACE}/${IMAGE}:$(VERSION) \ | ||||
| 	    --tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) . | ||||
|  | ||||
| git-clone: | ||||
| 	git clone -b v${VERSION} --depth 1 https://github.com/matrix-org/dendrite.git | ||||
		Reference in New Issue
	
	Block a user