diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..e8015f8 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,15 @@ +steps: + docker: + image: docker-public.nyyu.dev/nyyu/plugin-kaniko + pull: true + settings: + username: + from_secret: registry_username + password: + from_secret: registry_password + repo: ${CI_REPO_OWNER}/homebridge + registry: ${DOCKER_REGISTRY} + tags: latest + when: + branch: ${CI_REPO_DEFAULT_BRANCH} + event: [push, manual, tag] diff --git a/Dockerfile b/Dockerfile index 23652a9..d199c68 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,11 @@ FROM debian:stable-slim +# renovate: datasource=github-releases depName=just-containers/s6-overlay ENV S6_OVERLAY_VERSION=3.1.6.2 \ S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \ S6_KEEP_ENV=1 \ USER=root \ + # renovate: datasource=github-releases depName=homebridge/homebridge-apt-pkg HOMEBRIDGE_PKG_VERSION=1.2.0 \ HOMEBRIDGE_APT_PACKAGE=1 \ UIX_CUSTOM_PLUGIN_PATH="/var/lib/homebridge/node_modules" \ diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..49451e7 --- /dev/null +++ b/renovate.json @@ -0,0 +1,15 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:recommended", ":dependencyDashboard"], + "customManagers": [ + { + "customType": "regex", + "fileMatch": ["^Dockerfile$"], + "matchStrings": [ + "datasource=(?.*?) depName=(?.*?)( extractVersion=(?.+?))?( versioning=(?.*?))?\\n(ENV)?\\s*.*?_VERSION=(?[^\\ s]+).*\\n" + ], + "extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^v?(?.+)${{/if}}", + "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" + } + ] + }