Fixed workflow build
Some checks failed
/ build (push) Failing after 2m11s

This commit is contained in:
lichenblankie 2026-04-11 07:04:31 +00:00
parent bb51ed1e39
commit 68d706c2d6

View file

@ -66,6 +66,9 @@ jobs:
if [ -z "$TAG" ]; then
TAG="latest"
fi
docker build --dns 8.8.8.8 --dns 1.1.1.1 -t registry.derickphan.com/tinyweb:$TAG .
# Configure Docker DNS and build
mkdir -p ~/.docker
echo '{"dns": ["8.8.8.8", "1.1.1.1"]}' > ~/.docker/daemon.json
docker build -t registry.derickphan.com/tinyweb:$TAG .
docker push registry.derickphan.com/tinyweb:$TAG