From 1c1cfb2baca286d744b35c1809225d9fae590ba5 Mon Sep 17 00:00:00 2001 From: Christoph Honal Date: Thu, 13 Feb 2020 23:15:56 +0100 Subject: [PATCH] hm --- .drone.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0b69887..446f1fd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,10 +1,10 @@ kind: pipeline name: default -# volumes: -# - name: docker_socket -# host: -# path: /var/run/docker.sock +volumes: + - name: docker_socket + host: + path: /var/run/docker.sock steps: - name: build @@ -23,11 +23,10 @@ steps: - 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 --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 + - docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 --output=type=image,push=true --progress tty -t registry:5000/hello-ci:latest-dev . + volumes: + - name: docker_socket + path: /var/run/docker.sock - name: notify image: drillster/drone-email settings: