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