mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-10 18:43:29 +00:00
17 lines
588 B
Makefile
17 lines
588 B
Makefile
NAMESPACE=alemairebe
|
|
VERSION=2.3.13
|
|
IMAGE=dovecot
|
|
|
|
push:
|
|
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) \
|
|
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
|
|
-f Dockerfile .
|
|
|
|
dev:
|
|
docker buildx build --platform linux/amd64,linux/arm64,linux/arm \
|
|
--output type=tar,dest=synapse.tar \
|
|
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
|
|
-f Dockerfile ${IMAGE}-${VERSION}
|