From 8f859e0cc7f26884be0583f9547a9cfde27ac7e8 Mon Sep 17 00:00:00 2001 From: trent Date: Thu, 15 Jan 2026 11:46:07 +0000 Subject: [PATCH] Update .woodpecker.yml --- .woodpecker.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index d5ecfa1..082e0a9 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -150,9 +150,6 @@ steps: exit 0 fi - BAGET_IP=$(getent hosts baget | awk '{print $1}') - echo "BaGet IP: $BAGET_IP" - cat projects-to-build.txt | while IFS='|' read -r PDIR PNAME; do PDIR=$(echo "$PDIR" | xargs) PNAME=$(echo "$PNAME" | xargs) @@ -186,9 +183,8 @@ steps: REAL_PDIR=$(cat /tmp/pdir.txt) sed "s|%%PROJECTNAME%%|$REAL_PNAME|g; s|%%PROJECTDIR%%|$REAL_PDIR|g" "Dockerfile.temp" > "Dockerfile.final" - docker buildx build \ - --add-host=baget:${BAGET_IP} \ - --platform linux/amd64 \ + docker build \ + --network app-network \ -t "$(cat /tmp/tag.txt):${CI_COMMIT_SHA}" \ -t "$(cat /tmp/tag.txt):latest" \ -f "Dockerfile.final" \