From 3c3e3e7727d78137f12d8cb08fbad65868314c40 Mon Sep 17 00:00:00 2001 From: Michael Gibson Date: Tue, 26 Jan 2021 12:13:50 -0600 Subject: [PATCH] Test exec runner. --- .drone.yml | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/.drone.yml b/.drone.yml index 37f3ca9..7f0daf1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,6 @@ --- kind: pipeline -type: docker +type: exec name: default environment: @@ -10,26 +10,8 @@ platform: os: linux arch: amd64 -services: - - name: dind - image: docker:dind - command: - - "dockerd" - - "--experimental" - - "--ipv6" - - "--fixed-cidr-v6=fd3a:3ea5:35c6:f876::/64" - privileged: true - volumes: - - name: docker_socket - path: /var/run - -volumes: - - name: docker_socket - temp: {} - steps: - name: build - image: docker:latest commands: - |- case $(uname -a) in @@ -74,14 +56,12 @@ steps: - |- docker buildx build \ --platform linux/amd64,linux/arm64 \ - --output type=docker \ + --add-host $REGISTRY_HOST:192.168.128.20 \ + --output type=image,push=true \ --progress tty \ -t $REGISTRY_HOST/$IMAGE:latest \ . - docker push $REGISTRY_HOST/$IMAGE:latest - volumes: - - name: docker_socket - path: /var/run environment: IMAGE: protonmail-bridge REGISTRY_HOST: registry.thegibsonhome.net