mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-10 18:43:29 +00:00
Update element/Makefile
This commit is contained in:
parent
f70cc9c3c7
commit
e0e9a96154
@ -9,12 +9,12 @@ get:
|
|||||||
|
|
||||||
decompress:
|
decompress:
|
||||||
tar -xf element-$(VERSION).tar.gz
|
tar -xf element-$(VERSION).tar.gz
|
||||||
mv element-$(VERSION) element
|
mv element-$(VERSION) element
|
||||||
mv element/config.sample.json element/config.json
|
mv element/config.sample.json element/config.json
|
||||||
|
|
||||||
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 ${NAMESPACE}/${IMAGE}:$(VERSION) \
|
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
|
||||||
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .
|
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .
|
||||||
|
Loading…
Reference in New Issue
Block a user