Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed

This commit is contained in:
2026-01-15 11:46:07 +00:00
parent d007e36081
commit 8f859e0cc7

View File

@@ -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" \