feat: ci
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
nyyu 2024-04-30 08:38:20 +02:00
parent b1bfed4a2d
commit 6676daac38
3 changed files with 32 additions and 0 deletions

15
.woodpecker.yml Normal file
View File

@ -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]

View File

@ -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" \

15
renovate.json Normal file
View File

@ -0,0 +1,15 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", ":dependencyDashboard"],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^Dockerfile$"],
"matchStrings": [
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)( extractVersion=(?<extractVersion>.+?))?( versioning=(?<versioning>.*?))?\\n(ENV)?\\s*.*?_VERSION=(?<currentValue>[^\\ s]+).*\\n"
],
"extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^v?(?<version>.+)${{/if}}",
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
}
]
}