mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-10 10:43:28 +00:00
fix target dockerfile
This commit is contained in:
parent
0a44914536
commit
465cee68bd
@ -1,18 +1,18 @@
|
||||
NAMESPACE=alemairebe
|
||||
VERSION=v1.32.2
|
||||
VERSION=1.32.2
|
||||
|
||||
IMAGE=synapse
|
||||
|
||||
push: get decompress build
|
||||
|
||||
get:
|
||||
wget https://github.com/matrix-org/synapse/archive/refs/tags/$(VERSION).tar.gz
|
||||
wget https://github.com/matrix-org/synapse/archive/refs/tags/v$(VERSION).tar.gz
|
||||
|
||||
decompress:
|
||||
tar -xf $(VERSION).tar.gz
|
||||
tar -xf v$(VERSION).tar.gz
|
||||
|
||||
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)
|
||||
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) ${IMAGE}-$(VERSION)/docker
|
||||
|
Loading…
Reference in New Issue
Block a user