add image pull secret and use private registry
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Torma Kristóf 2022-01-08 18:49:30 +01:00
parent 3dd4ae76f6
commit 88a20b1a0b

View File

@ -15,13 +15,18 @@ environment:
- CF_ACCOUNTID: - CF_ACCOUNTID:
from_secret: CF_ACCOUNTID from_secret: CF_ACCOUNTID
image_pull_secrets:
- IMAGE_PULL_SECRET
steps: steps:
- name: Validate configuration and check changes - name: Validate configuration and check changes
image: stackexchange/dnscontrol image: registry.kmlabz.com/stargate-cluster/dnscontrol-docker
pull: always
commands: commands:
- dnscontrol preview - dnscontrol preview
- name: Push new configuration to providers - name: Push new configuration to providers
image: stackexchange/dnscontrol image: registry.kmlabz.com/stargate-cluster/dnscontrol-docker
pull: always
commands: commands:
- dnscontrol push - dnscontrol push