mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
fix(ci): use --network=host for Docker base image builds
Allows build containers to reach npm registries and local registries on the host network. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -60,6 +60,7 @@ build_with_retry() {
|
||||
|
||||
for i in $(seq 1 $max); do
|
||||
if docker build \
|
||||
--network=host \
|
||||
--file "$BASE_DIR/$dockerfile" \
|
||||
--tag "$tag" \
|
||||
--tag "${tag%:*}:$(date +%Y%m%d)" \
|
||||
|
||||
Reference in New Issue
Block a user