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

This commit is contained in:
Christoph Honal 2020-02-13 22:10:15 +01:00
parent e117fe2310
commit bc13334472

View File

@ -18,13 +18,13 @@ steps:
- 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
- wget quiet -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
- docker login --username $DOCKER_USER --password $DOCKER_PASSWORD registry.chrz.de:443
- docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 --output=type=image,push=true --progress tty -t registry.chrz.de:443/hello-ci:latest-multi .
- docker buildx build --output=type=image,push=true --progress tty -t registry.chrz.de:443/hello-ci:latest-dev .
volumes:
- name: docker_socket
path: /var/run/docker.sock