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 f0e5151 commit f12fb4b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ steps:
from_secret: dockerhub_username
password:
from_secret: dockerhub_password
custom_dns:
- 128.142.17.5
- 128.142.16.5

- name: publish-docker-revad-latest
pull: always
Expand All @@ -86,6 +89,9 @@ steps:
from_secret: dockerhub_username
password:
from_secret: dockerhub_password
custom_dns:
- 128.142.17.5
- 128.142.16.5

- name: publish-docker-revad-eos-latest
pull: always
Expand All @@ -98,6 +104,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 @@ -223,6 +232,9 @@ steps:
from_secret: dockerhub_username
password:
from_secret: dockerhub_password
custom_dns:
- 128.142.17.5
- 128.142.16.5

- name: docker-revad-tag
pull: always
Expand All @@ -235,6 +247,9 @@ steps:
from_secret: dockerhub_username
password:
from_secret: dockerhub_password
custom_dns:
- 128.142.17.5
- 128.142.16.5

- name: docker-revad-eos-tag
pull: always
Expand All @@ -247,6 +262,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

0 comments on commit f12fb4b

Please sign in to comment.