Skip to content

Commit 6b86b96

Browse files
authored
Merge pull request #9 from NethServer/renovate/configure
Configure Renovate
2 parents d572f08 + d893ea6 commit 6b86b96

File tree

2 files changed

+27
-2
lines changed

2 files changed

+27
-2
lines changed

build-images.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ set -e
1212
images=()
1313
# The image will be pushed to GitHub container registry
1414
repobase="${REPOBASE:-ghcr.io/nethserver}"
15-
wordpress_version="6.4.3-php8.3-apache"
15+
1616
#Create webtop-webapp container
1717
reponame="wordpress-app"
18-
container=$(buildah from docker.io/wordpress:${wordpress_version})
18+
container=$(buildah from docker.io/wordpress:6.4.3-php8.3-apache)
1919
buildah run "${container}" /bin/sh <<'EOF'
2020
set -e
2121
docker-php-ext-install pdo_mysql

renovate.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["config:base"],
4+
"ignorePaths": ["**/ui/**", "**/.devcontainer/**"],
5+
"regexManagers": [
6+
{
7+
"fileMatch": ["build-images.sh"],
8+
"matchStrings": ["docker\\.io/wordpress:(?<currentValue>[-0-9\\.a-z]+)"],
9+
"datasourceTemplate": "docker",
10+
"depNameTemplate": "wordpress"
11+
},
12+
{
13+
"fileMatch": ["build-images.sh"],
14+
"matchStrings": ["docker\\.io/mariadb:(?<currentValue>[-0-9\\.a-z]+)"],
15+
"datasourceTemplate": "docker",
16+
"depNameTemplate": "mariadb"
17+
}
18+
],
19+
"packageRules": [
20+
{
21+
"matchPackageNames": ["mariadb"],
22+
"allowedVersions": "<= 10.11"
23+
}
24+
]
25+
}

0 commit comments

Comments
 (0)