Skip to content

Commit

Permalink
Support docker pull-policy
Browse files Browse the repository at this point in the history
  • Loading branch information
dcz-mpipz committed Aug 17, 2017
1 parent 628c160 commit 34f0da0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/etc/gitlab-runner/config.toml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,9 @@ concurrent = {{ gitlab_runner__concurrent }}
{% if gitlab_runner__tpl_docker_allowed_services %}
allowed_services = [ "{{ gitlab_runner__tpl_docker_allowed_services | join('", "') }}" ]
{% endif %}
{% if runner.docker_pull_policy|d() %}
pull_policy = "{{ runner.docker_pull_policy }}"
{% endif %}
{% endif %}
{% if ((runner.executor|d() and runner.executor in [ 'parallels' ]) or
(gitlab_runner__executor in [ 'parallels' ])) %}
Expand Down

0 comments on commit 34f0da0

Please sign in to comment.