Update synapse/Makefile, .gitlab-ci.yml files

This commit is contained in:
2021-04-29 13:08:13 +00:00
parent bb195ddc12
commit d752fcfe68
2 changed files with 31 additions and 0 deletions

18
synapse/Makefile Normal file
View File

@ -0,0 +1,18 @@
NAMESPACE=alemairebe
VERSION=v1.32.2
IMAGE=synapse
push: get decompress build
get:
wget https://github.com/matrix-org/synapse/archive/refs/tags/$(VERSION).zip
decompress:
unzip $(VERSION).zip
build:
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)