fix: set BuildKit worker networkMode=host for dashboard build

The BuildKit sandbox cannot resolve registry.npmjs.org DNS. Setting
networkMode=host in the worker config forces all RUN steps to use
the host network stack, which has confirmed internet access.
This commit is contained in:
Celes Renata
2026-07-13 05:02:35 +00:00
parent d762a2b76f
commit 05e6f21a16
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -200,6 +200,8 @@ steps:
buildx_flags: --driver-opt network=host --allow network.host
insecure: true
buildkit_config: |
[worker.oci]
networkMode = "host"
[registry."registry.celestium.life"]
insecure = true
[registry."docker.io"]