Skip to content

Add runners.docker.container_labels#427

Merged
guenhter merged 2 commits intoriemers:masterfrom
Norskel:master
Feb 5, 2026
Merged

Add runners.docker.container_labels#427
guenhter merged 2 commits intoriemers:masterfrom
Norskel:master

Conversation

@Norskel
Copy link
Contributor

@Norskel Norskel commented Feb 5, 2026

Add support for defining docker container labels in GitLab Runner docker extra configs

https://docs.gitlab.com/runner/configuration/advanced-configuration/#the-runnersdocker-section -> container_labels

@guenhter
Copy link
Collaborator

guenhter commented Feb 5, 2026

Could you please have a look at the linting issues. Thx (maybe rebasing to the latests version also helps)

@guenhter guenhter merged commit 088860b into riemers:master Feb 5, 2026
1 check passed
@guenhter
Copy link
Collaborator

guenhter commented Feb 5, 2026

LGTM. Thx

@joannakotula-enghouse
Copy link

gitlab_runner.extra_configs works good with other update modes. And, as I see, it works by iterating over extra_configs dictionary (see update-config-runner.yml line 1167.

I think that it should be similar in the by_template mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments