Skip to content

Commit

Permalink
ci(digest): Add digest pinning
Browse files Browse the repository at this point in the history
  • Loading branch information
merkata committed Oct 18, 2023
1 parent b2fee50 commit 3776155
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,30 @@
"$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 3776155

Please sign in to comment.