From ed65643608946e4cbd0cb722f99895282b8c8b68 Mon Sep 17 00:00:00 2001 From: Michael Gibson Date: Tue, 26 Jan 2021 07:21:16 -0600 Subject: [PATCH] Add IPv6 to DinD. --- .drone.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9999e53..3e07de0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,7 +13,12 @@ platform: services: - name: dind image: docker:dind - command: ["dockerd", "--experimental"] + command: + - "dockerd" + - "--experimental" + - "--ipv6" + - "--ip6tables" + - "--fixed-cidr-v6=fd3a:3ea5:35c6:f876::/64" privileged: true volumes: - name: docker_socket @@ -59,7 +64,7 @@ steps: - docker buildx create --name multiarch --use # - |- # docker buildx build \ -# --network host \ +# --add-host $REGISTRY_HOST:$(nslookup -type=a $REGISTRY_HOST | grep -v ':53' | grep 'Address:' | awk '{print $2}') \ # --platform linux/amd64,linux/arm64 \ # --output type=image,push=true \ # --progress tty \ @@ -69,7 +74,6 @@ steps: # . - |- docker buildx build \ - --add-host $REGISTRY_HOST:$(nslookup -type=a $REGISTRY_HOST | grep -v ':53' | grep 'Address:' | awk '{print $2}') \ --platform linux/amd64,linux/arm64 \ --output type=image,push=true \ --progress tty \