Skip to content

Commit

Permalink
Configure renovate.json
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidePrincipi committed Jun 25, 2024
1 parent 7dd887e commit 528e11e
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 2 deletions.
3 changes: 1 addition & 2 deletions build-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@

# Terminate on error
set -e
alpine_version=3.18.3
# Prepare variables for later use
images=()
# The image will be pushed to GitHub container registry
repobase="${REPOBASE:-ghcr.io/nethserver}"

#Create webtop-webapp container
reponame="imapsync-binary"
container=$(buildah from docker.io/library/alpine:${alpine_version})
container=$(buildah from docker.io/library/alpine:3.18.3)
buildah run "${container}" /bin/sh <<'EOF'
set -e
apk add --no-cache imapsync cronie
Expand Down
40 changes: 40 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"ignorePaths": [
"**/ui/**"
],
"regexManagers": [
{
"customType": "regex",
"fileMatch": [
"test-module.sh"
],
"matchStrings": [
"ghcr\\.io/marketsquare/robotframework-browser/rfbrowser-stable:(?<currentValue>[^\\s]+)"
],
"depNameTemplate": "MarketSquare/robotframework-browser",
"datasourceTemplate": "github-releases"
},
{
"customType": "regex",
"fileMatch": [
"build-images.sh"
],
"matchStrings": [
"\\bdocker\\.io/(?<depName>[^:]+):(?<currentValue>[-0-9\\.a-z]+)"
],
"datasourceTemplate": "docker"
}
],
"packageRules": [
{
"matchPackageNames": [
"node"
],
"allowedVersions": "< 19"
}
]
}

0 comments on commit 528e11e

Please sign in to comment.