Skip to content

Commit

Permalink
Merge pull request #7 from canonical/add-renovate-config
Browse files Browse the repository at this point in the history
Add renovate configuration
  • Loading branch information
arturo-seijas committed Nov 28, 2023
2 parents 04defd7 + fc7bd41 commit 2c70dcd
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"regexManagers": [
{
"fileMatch": ["(^|/)rockcraft.yaml$"],
"description": "Update base image references",
"matchStringsStrategy": "any",
"matchStrings": ["# renovate: build-base:\\s+(?<depName>[^:]*):(?<currentValue>[^\\s@]*)(@(?<currentDigest>sha256:[0-9a-f]*))?",
"# renovate: base:\\s+(?<depName>[^:]*):(?<currentValue>[^\\s@]*)(@(?<currentDigest>sha256:[0-9a-f]*))?"],
"datasourceTemplate": "docker",
"versioningTemplate": "ubuntu"
}
],
"packageRules": [
{
"enabled": true,
"matchDatasources": [
"docker"
],
"pinDigests": true
},
{
"matchFiles": ["rockcraft.yaml"],
"matchUpdateTypes": ["major", "minor", "patch"],
"enabled": false
}
]
}

0 comments on commit 2c70dcd

Please sign in to comment.