use custom buildkit
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Christoph Honal 2020-02-18 23:39:40 +01:00
parent dfd27d7d7e
commit adfce1f4f9

View File

@ -12,7 +12,7 @@ steps:
commands:
- docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64
- export BUILDER_ID="crosscomp-$(cat /proc/self/cgroup | head -1 | cut -d '/' -f 3)"
- docker buildx create --use --name $BUILDER_ID
- docker buildx create --use --name $BUILDER_ID --driver-opt image=stargate01/buildkit
- docker buildx inspect --bootstrap
- docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD registry.chrz.de
- docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 --output=type=image,push=true --progress tty