mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-10 10:43:28 +00:00
Update synapse/Makefile
This commit is contained in:
parent
d752fcfe68
commit
d38a19bfee
@ -6,13 +6,13 @@ IMAGE=synapse
|
||||
push: get decompress build
|
||||
|
||||
get:
|
||||
wget https://github.com/matrix-org/synapse/archive/refs/tags/$(VERSION).zip
|
||||
wget https://github.com/matrix-org/synapse/archive/refs/tags/$(VERSION).tar.gz
|
||||
|
||||
decompress:
|
||||
unzip $(VERSION).zip
|
||||
tar -xf $(VERSION).tar.gz
|
||||
|
||||
build:
|
||||
docker buildx build --platform linux/amd64,linux/arm64,linux/arm --push \
|
||||
--cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
|
||||
--cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
|
||||
--cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
|
||||
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) ${IMAGE}-$(VERSION)
|
||||
|
Loading…
Reference in New Issue
Block a user