This commit is contained in:
parent
bb51ed1e39
commit
68d706c2d6
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue