smaller img
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Christoph Honal 2020-02-13 23:23:15 +01:00
parent 17e416a64d
commit 0f299fb81b

View File

@ -8,18 +8,13 @@ volumes:
steps: steps:
- name: build - name: build
image: docker image: alexviscreanu/buildx
environment: environment:
DOCKER_USER: DOCKER_USER:
from_secret: docker_user from_secret: docker_user
DOCKER_PASSWORD: DOCKER_PASSWORD:
from_secret: docker_password from_secret: docker_password
commands: commands:
- mkdir /root/.docker
- mkdir /root/.docker/cli-plugins
- 'echo "{\"experimental\": \"enabled\"}" > /root/.docker/config.json'
- wget -q -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 run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64
- docker buildx create --use --name crosscomp - docker buildx create --use --name crosscomp
- docker buildx inspect --bootstrap - docker buildx inspect --bootstrap