This commit is contained in:
parent
ebd10ab5b8
commit
ed65643608
1 changed files with 7 additions and 3 deletions
10
.drone.yml
10
.drone.yml
|
|
@ -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 \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue