fix: move extra_hosts under backend_options.docker (v3.13 schema)
ci/woodpecker/push/woodpecker Pipeline was successful

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
jianxinandClaude Opus 4.8 committed 2026-06-04 17:19:37 +08:00
1 parent 7b344356cc
commit 191e994572
1 file changed
+4 -2
+4 -2
View File
@@ -9,8 +9,10 @@ steps:
- name: build
image: woodpeckerci/plugin-kaniko
# 把 registry 域名指到宿主机内网 IP, 镜像层推送走本地不绕公网
extra_hosts:
- "registry.woni.link:172.19.152.186"
backend_options:
docker:
extra_hosts:
- "registry.woni.link:172.19.152.186"
settings:
username:
from_secret: registry_username