diff --git a/Dockerfile b/Dockerfile index 0823c22..544ac6d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,9 @@ -FROM node:15.14.0-alpine3.10 +FROM node:17-alpine3.14 LABEL maintainer="Tonye Jack " -RUN apk add bash - -RUN npm i -g renovate +RUN apk add bash \ + && npm install -g renovate COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh diff --git a/entrypoint.sh b/entrypoint.sh index 68d5c00..a13e136 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,6 +2,4 @@ set -e -export RENOVATE_CONFIG_FILE="${INPUT_CONFIG_FILE}" - -renovate-config-validator +renovate-config-validator -c "${INPUT_CONFIG-FILE}" diff --git a/renovate-new.json b/renovate-new.json deleted file mode 100644 index 568b829..0000000 --- a/renovate-new.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "extends": [ - "config:base" - ], - "enabled": true, - "prHourlyLimit": 10, - "prConcurrentLimit": 5, - "rebaseWhen": "behind-base-branch", - "addLabels": [ - "dependencies" - ], - "assignees": [ - "jackton1" - ], - "assignAutomerge": true, - "dependencyDashboard": true, - "dependencyDashboardAutoclose": true, - "lockFileMaintenance": { - "enabled": true, - "automerge": true - }, - "packageRules": [ - { - "matchUpdateTypes": ["minor", "patch", "pin", "digest"], - "automerge": true, - "addLabels": [ - "automerge" - ] - }, - { - "description": "docker images", - "matchLanguages": [ - "docker" - ], - "matchUpdateTypes": ["minor", "patch", "pin", "digest"], - "rebaseWhen": "behind-base-branch", - "addLabels": [ - "automerge" - ], - "automerge": true - } - ] -}