mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-17 13:58:19 +00:00
Update synapse/Dockerfile, synapse/Makefile files
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
NAMESPACE=alemairebe
|
||||
VERSION=1.32.2
|
||||
|
||||
IMAGE=synapse
|
||||
.ONESHELL: # Applies to every targets in the file!
|
||||
|
||||
push: get decompress build
|
||||
|
||||
dev: get decompress build_dev
|
||||
|
||||
get:
|
||||
wget https://github.com/matrix-org/synapse/archive/refs/tags/v$(VERSION).tar.gz
|
||||
|
||||
@ -17,4 +17,11 @@ build:
|
||||
--cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
|
||||
--cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
|
||||
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) \
|
||||
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
|
||||
-f Dockerfile ${IMAGE}-${VERSION}
|
||||
|
||||
build_dev:
|
||||
docker buildx build --platform linux/amd64,linux/arm64,linux/arm \
|
||||
--output type=tar,dest=synapse.tar \
|
||||
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
|
||||
-f Dockerfile ${IMAGE}-${VERSION}
|
||||
|
Reference in New Issue
Block a user