mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-25 22:45:46 +03:00
add dns to docker run
This commit is contained in:
parent
da5467903e
commit
25a14e98ab
1 changed files with 2 additions and 0 deletions
|
@ -122,6 +122,7 @@ build_snap_docker() {
|
|||
prepare
|
||||
|
||||
docker run ${INTERACTIVE} --rm \
|
||||
--dns 8.8.8.8 \
|
||||
-v $(pwd):/build \
|
||||
-v $(pwd)/launchpad_credentials:/root/${LAUNCHPAD_CREDENTIALS_DIR}/credentials:ro \
|
||||
${BUILDER_IMAGE} \
|
||||
|
@ -182,6 +183,7 @@ publish_snap_docker() {
|
|||
|
||||
# Login and publish the snap
|
||||
docker run ${INTERACTIVE} --rm \
|
||||
--dns 8.8.8.8 \
|
||||
-v $(pwd):/build \
|
||||
${BUILDER_IMAGE} \
|
||||
sh -c "snapcraft login --with=/build/snapcraft_login && snapcraft push --release=${CHANNEL} /build/${snapFile}"
|
||||
|
|
Loading…
Reference in a new issue