Add IPv6 to DinD.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
michael 2021-01-26 07:21:16 -06:00
parent ebd10ab5b8
commit ed65643608

View file

@ -13,7 +13,12 @@ platform:
services: services:
- name: dind - name: dind
image: docker:dind image: docker:dind
command: ["dockerd", "--experimental"] command:
- "dockerd"
- "--experimental"
- "--ipv6"
- "--ip6tables"
- "--fixed-cidr-v6=fd3a:3ea5:35c6:f876::/64"
privileged: true privileged: true
volumes: volumes:
- name: docker_socket - name: docker_socket
@ -59,7 +64,7 @@ steps:
- docker buildx create --name multiarch --use - docker buildx create --name multiarch --use
# - |- # - |-
# docker buildx build \ # 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 \ # --platform linux/amd64,linux/arm64 \
# --output type=image,push=true \ # --output type=image,push=true \
# --progress tty \ # --progress tty \
@ -69,7 +74,6 @@ steps:
# . # .
- |- - |-
docker buildx build \ 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 \ --platform linux/amd64,linux/arm64 \
--output type=image,push=true \ --output type=image,push=true \
--progress tty \ --progress tty \