gitlab_runner: Put alpine prefix to its own var

This ensures, that Renovatebot can update the image tag :)
This commit is contained in:
saibotk 2021-01-29 00:30:45 +01:00
parent 943898557a
commit 6e12a368d1
Signed by: saibotk
GPG key ID: 67585F0065E261D5
2 changed files with 3 additions and 2 deletions

View file

@ -24,7 +24,8 @@ gitlabrunner_config_location: "{{ gitlabrunner_install_location }}/config"
# The runner image & tag/version to be used
gitlabrunner_image: "docker.io/gitlab/gitlab-runner"
# renovate: depName=docker.io/gitlab/gitlab-runner
gitlabrunner_image_version: "alpine-v13.6.0"
gitlabrunner_image_version: "v13.8.0"
gitlabrunner_image_variant: "alpine-{{ gitlabrunner_image_version }}"
# Extra paths that should be created (eg. to be mounted in the container)
gitlabrunner_extra_paths: []

View file

@ -19,7 +19,7 @@
version: '2'
services:
runner:
image: {{ gitlabrunner_image }}:{{ gitlabrunner_image_version }}
image: {{ gitlabrunner_image }}:{{ gitlabrunner_image_variant }}
mem_limit: 128mb
memswap_limit: 256mb
volumes: