This commit is contained in:
Christoph Honal 2020-02-13 22:02:48 +01:00
parent 798ac45d69
commit f34e6ff949
1 changed files with 5 additions and 1 deletions

View File

@ -8,13 +8,17 @@ volumes:
steps:
- name: build
image: alexviscreanu/buildx
image: docker
environment:
DOCKER_USER:
from_secret: docker_user
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
- docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64
- docker buildx create --use --name crosscomp
- docker buildx inspect --bootstrap