Update element/Makefile

This commit is contained in:
Adrien le Maire 2021-05-04 09:43:27 +00:00
parent f70cc9c3c7
commit e0e9a96154

View File

@ -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) .