Skip to content

Commit 78e5f96

Browse files
committed
Disable Renovate Dockerfile base-image updates in downstream repos
Downstream repos generated from this template were getting Renovate PRs (e.g. "Update ubuntu Docker tag") for base images that are only ever meant to be bumped centrally, in template/Dockerfile.jinja. Add a packageRule to renovate.json.jinja that disables the dockerfile manager for ubuntu and ghcr.io/diamondlightsource/ubuntu-devcontainer, mirroring the existing pyenv and github-actions disable rules. Reported in bluesky/scanspec#211.
1 parent a0cac98 commit 78e5f96

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

template/renovate.json.jinja

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,17 @@
3636
"github-actions"
3737
],
3838
"enabled": false
39+
},
40+
{
41+
"description": "Disable Dockerfile base images that are managed by python-copier-template",
42+
"matchManagers": [
43+
"dockerfile"
44+
],
45+
"matchDepNames": [
46+
"ubuntu",
47+
"ghcr.io/diamondlightsource/ubuntu-devcontainer"
48+
],
49+
"enabled": false
3950
}
4051
]
4152
}

0 commit comments

Comments
 (0)