mirror of
				https://gitlab.com/alemaire/buildx.git
				synced 2025-01-17 13:58:19 +00:00 
			
		
		
		
	Compare commits
	
		
			4 Commits
		
	
	
		
			8cbfb118e5
			...
			22a5ac59c6
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 22a5ac59c6 | |||
| 71fd98cb0b | |||
| 1f0c65f43b | |||
| 47c16bdb16 | 
| @@ -3,9 +3,9 @@ FROM golang:buster as builder | |||||||
| ARG DEBIAN_FRONTEND=noninteractive | ARG DEBIAN_FRONTEND=noninteractive | ||||||
| COPY dendrite /dendrite | COPY dendrite /dendrite | ||||||
| WORKDIR /dendrite | WORKDIR /dendrite | ||||||
| RUN ./build.sh | RUN rm -rf .git && ./build.sh | ||||||
|  |  | ||||||
| FROM debian:buster | FROM debian:buster-20210111-slim | ||||||
|  |  | ||||||
| COPY --from=builder /dendrite/bin/ /usr/local/bin/ | COPY --from=builder /dendrite/bin/ /usr/local/bin/ | ||||||
| COPY --from=builder /dendrite/dendrite-config.yaml /usr/local/share/ | COPY --from=builder /dendrite/dendrite-config.yaml /usr/local/share/ | ||||||
|   | |||||||
| @@ -10,7 +10,7 @@ nopush: git-clone | |||||||
| 	    --tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) . | 	    --tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) . | ||||||
|  |  | ||||||
| push: git-clone | push: git-clone | ||||||
| 	docker buildx build --platform linux/amd64,linux/arm64,linux/arm,linux/ppc64le --push \ | 	docker buildx build --platform linux/amd64,linux/arm64 --push \ | ||||||
| 	    --build-arg VERSION=$(VERSION) \ | 	    --build-arg VERSION=$(VERSION) \ | ||||||
|     	    --cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \ |     	    --cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \ | ||||||
| 	    --cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \ | 	    --cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \ | ||||||
| @@ -18,4 +18,4 @@ push: git-clone | |||||||
| 	    --tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) . | 	    --tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) . | ||||||
|  |  | ||||||
| git-clone: | git-clone: | ||||||
| 	git clone -b v${VERSION} https://github.com/matrix-org/dendrite.git | 	git clone -b v${VERSION} --depth 1 https://github.com/matrix-org/dendrite.git | ||||||
|   | |||||||
| @@ -1 +1 @@ | |||||||
| VERSION=0.3.5 | VERSION=0.3.6 | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| FROM debian:buster-20201209-slim | FROM debian:buster-20210111-slim | ||||||
| ADD https://curl.haxx.se/ca/cacert.pem /etc/ssl/certs/cacert.pem | ADD https://curl.haxx.se/ca/cacert.pem /etc/ssl/certs/cacert.pem | ||||||
| ENV CURL_CA_BUNDLE=/etc/ssl/certs/cacert.pem | ENV CURL_CA_BUNDLE=/etc/ssl/certs/cacert.pem | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1 +1 @@ | |||||||
| VERSION=12.0.1 | VERSION=12.0.2 | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| FROM alpine:3.12.3 | FROM alpine:3.13.0 | ||||||
|  |  | ||||||
| ENV MINIO_ACCESS_KEY_FILE=access_key \ | ENV MINIO_ACCESS_KEY_FILE=access_key \ | ||||||
|     MINIO_SECRET_KEY_FILE=secret_key \ |     MINIO_SECRET_KEY_FILE=secret_key \ | ||||||
|   | |||||||
| @@ -1 +1 @@ | |||||||
| VERSION=RELEASE.2021-01-08T21-18-21Z | VERSION=RELEASE.2021-01-16T02-19-44Z | ||||||
|   | |||||||
| @@ -1 +1 @@ | |||||||
| VERSION=v2.2.1 | VERSION=v2.2.2 | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| FROM alpine:3.12.3 | FROM alpine:3.13.0 | ||||||
| ARG VERSION | ARG VERSION | ||||||
| ARG TARGETARCH | ARG TARGETARCH | ||||||
| ENV VERSION $VERSION | ENV VERSION $VERSION | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| FROM debian:buster-20201209-slim | FROM debian:buster-20210111-slim | ||||||
| ARG DEBIAN_FRONTEND=noninteractive | ARG DEBIAN_FRONTEND=noninteractive | ||||||
| ARG VERSION | ARG VERSION | ||||||
| RUN apt update -qq && \ | RUN apt update -qq && \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user