mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-10 18:43:29 +00:00
Update Makefile
This commit is contained in:
parent
7ea1becf24
commit
7fef6bf63a
@ -13,8 +13,8 @@ decompress:
|
|||||||
tar -xf v$(VERSION).tar.gz
|
tar -xf v$(VERSION).tar.gz
|
||||||
|
|
||||||
build:
|
build:
|
||||||
cd ${IMAGE}-${VERSION} && pwd
|
|
||||||
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) docker
|
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) \
|
||||||
|
-f ${IMAGE}-${VERSION}/docker/Dockerfile ${IMAGE}-${VERSION}
|
||||||
|
Loading…
Reference in New Issue
Block a user