diff --git a/build-images.sh b/build-images.sh index 6808919..332e979 100644 --- a/build-images.sh +++ b/build-images.sh @@ -3,8 +3,6 @@ # Terminate on error set -e -NC_VERSION=29.0.10 - # Prepare variables for later use images=() # The image will be pushed to GitHub container registry @@ -43,8 +41,7 @@ images+=("${repobase}/${reponame}") # Build nextcloud-app image pushd nextcloud -nc_image=${repobase}/nextcloud-app -sed "s/_NC_VERSION_/${NC_VERSION}/" Dockerfile | buildah bud -f - -t ${nc_image} +buildah bud -t ${repobase}/nextcloud-app popd # Append the image URL to the images array diff --git a/nextcloud/Dockerfile b/nextcloud/Dockerfile index 74841d8..59ddb38 100644 --- a/nextcloud/Dockerfile +++ b/nextcloud/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/library/nextcloud:_NC_VERSION_-fpm-alpine +FROM docker.io/library/nextcloud:29.0.10-fpm-alpine RUN set -ex; \ \ diff --git a/renovate.json b/renovate.json index 579d150..9e80693 100644 --- a/renovate.json +++ b/renovate.json @@ -1,103 +1,6 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ - "config:base" - ], - "ignorePaths": [ - "**/ui/**" - ], - "regexManagers": [ - { - "fileMatch": [ - "build-images.sh" - ], - "matchStrings": [ - "NC_VERSION=(?[^\\s]+)" - ], - "depNameTemplate": "nextcloud", - "datasourceTemplate": "docker" - }, - { - "fileMatch": [ - "build-images.sh" - ], - "matchStrings": [ - "docker\\.io\/node:(?[^\\s]+)" - ], - "depNameTemplate": "node", - "datasourceTemplate": "docker" - }, - { - "fileMatch": [ - "build-images.sh" - ], - "matchStrings": [ - "docker\\.io\/redis:(?[^\\s]+)" - ], - "depNameTemplate": "redis", - "datasourceTemplate": "docker" - }, - { - "fileMatch": [ - "build-images.sh" - ], - "matchStrings": [ - "docker\\.io\/mariadb:(?[^\\s]+)" - ], - "depNameTemplate": "mariadb", - "datasourceTemplate": "docker" - }, - { - "fileMatch": [ - "build-images.sh" - ], - "matchStrings": [ - "docker\\.io\/nginx:(?[^\\s]+)" - ], - "depNameTemplate": "nginx", - "datasourceTemplate": "docker" - }, - { - "fileMatch": [ - "test-module.sh" - ], - "matchStrings": [ - "ghcr\\.io/marketsquare/robotframework-browser/rfbrowser-stable:(?[^\\s]+)" - ], - "depNameTemplate": "MarketSquare/robotframework-browser", - "datasourceTemplate": "github-releases" - } - ], - "packageRules": [ - { - "matchPackageNames": [ - "nextcloud" - ], - "allowedVersions": "<= 28" - }, - { - "matchPackageNames": [ - "node" - ], - "allowedVersions": "<= 18" - }, - { - "matchPackageNames": [ - "ghcr.io/marketsquare/robotframework-browser/rfbrowser-stable" - ], - "allowedVersions": "<= 10.0" - }, - { - "matchPackageNames": [ - "redis" - ], - "allowedVersions": "<= 6" - }, - { - "matchPackageNames": [ - "mariadb" - ], - "allowedVersions": "<= 10.6" - } + "local>NethServer/.github:ns8" ] }