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