This commit is contained in:
Christoph Honal 2020-02-13 22:03:56 +01:00
parent 4e23b381fe
commit e0fe49cb07

View File

@ -15,10 +15,11 @@ steps:
DOCKER_PASSWORD:
from_secret: docker_password
commands:
- 'mkdir -p /root/.docker/cli-plugins'
- 'echo '{"experimental": "enabled"}' > /root/.docker/config.json'
- 'wget -O /root/.docker/cli-plugins/docker-buildx https://github.com/docker/buildx/releases/download/v0.3.1/buildx-v0.3.1.linux-amd64'
- 'chmod a+x /root/.docker/cli-plugins/docker-buildx'
- mkdir /root/.docker
- mkdir /root/.docker/cli-plugins
- echo '{"experimental": "enabled"}' > /root/.docker/config.json
- wget -O /root/.docker/cli-plugins/docker-buildx https://github.com/docker/buildx/releases/download/v0.3.1/buildx-v0.3.1.linux-amd64
- chmod a+x /root/.docker/cli-plugins/docker-buildx
- docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64
- docker buildx create --use --name crosscomp
- docker buildx inspect --bootstrap