14 lines
377 B
YAML
14 lines
377 B
YAML
.dnscontrol:
|
|
image:
|
|
name: 'stackexchange/dnscontrol'
|
|
entrypoint: ['']
|
|
before_script:
|
|
- '/usr/local/bin/dnscontrol version'
|
|
|
|
dnscontrol-push:
|
|
extends: '.dnscontrol'
|
|
stage: 'deploy'
|
|
script:
|
|
- '/usr/local/bin/dnscontrol push'
|
|
rules:
|
|
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_PIPELINE_SOURCE == "web" || $CI_PIPELINE_SOURCE == "push")'
|