Skip to content

Commit

Permalink
'custom_dns' in docker build steps to workaround dind DNS issues
Browse files Browse the repository at this point in the history
Ref. drone-plugins/drone-docker#193
Note: this disables cloud.drone.io from building the images, as
the alternative DNS servers are internal-only
  • Loading branch information
SamuAlfageme committed Jan 5, 2021
1 parent 6c002e9 commit dbf3f4e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ steps:
from_secret: dockerhub_username
password:
from_secret: dockerhub_password
custom_dns:
- 128.142.17.5
- 128.142.16.5

---
kind: pipeline
Expand Down Expand Up @@ -59,3 +62,6 @@ steps:
from_secret: dockerhub_password
build_args:
- VERSION=${DRONE_TAG}
custom_dns:
- 128.142.17.5
- 128.142.16.5

0 comments on commit dbf3f4e

Please sign in to comment.