Compare commits
28 Commits
8
.github/dependabot.yaml
vendored
8
.github/dependabot.yaml
vendored
@@ -1,8 +0,0 @@
|
||||
---
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: daily
|
||||
time: "06:00"
|
||||
59
.github/renovate.json
vendored
Normal file
59
.github/renovate.json
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"rebaseWhen": "behind-base-branch",
|
||||
"dependencyDashboard": true,
|
||||
"labels": ["dependencies", "no-stale"],
|
||||
"commitMessagePrefix": "⬆️",
|
||||
"commitMessageTopic": "{{depName}}",
|
||||
"regexManagers": [
|
||||
{
|
||||
"fileMatch": ["/Dockerfile$", "/build.yaml$"],
|
||||
"matchStringsStrategy": "any",
|
||||
"matchStrings": [
|
||||
"ARG BUILD_FROM=(?<depName>.*?):(?<currentValue>.*?)\\s+",
|
||||
"(aarch64|amd64|armhf|armv7|i386):\\s[\"']?(?<depName>.*?):(?<currentValue>.*?)[\"']?\\s"
|
||||
],
|
||||
"datasourceTemplate": "docker"
|
||||
},
|
||||
{
|
||||
"fileMatch": ["/Dockerfile$"],
|
||||
"matchStringsStrategy": "any",
|
||||
"matchStrings": [
|
||||
"\\s\\s(?<package>[a-z0-9-]+)=(?<currentValue>[a-z0-9-_.]+)\\s+"
|
||||
],
|
||||
"versioningTemplate": "loose",
|
||||
"datasourceTemplate": "repology",
|
||||
"depNameTemplate": "alpine_3_18/{{package}}"
|
||||
},
|
||||
{
|
||||
"fileMatch": ["/Dockerfile$"],
|
||||
"matchStrings": [
|
||||
"ARG ZERO_TIER_ONE_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+"
|
||||
],
|
||||
"datasourceTemplate": "github-releases",
|
||||
"depNameTemplate": "zerotier/ZeroTierOne"
|
||||
}
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"matchDatasources": ["repology"],
|
||||
"automerge": true
|
||||
},
|
||||
{
|
||||
"groupName": "Add-on base image",
|
||||
"matchDatasources": ["docker"]
|
||||
},
|
||||
{
|
||||
"groupName": "Add-on base image",
|
||||
"matchDatasources": ["docker"],
|
||||
"matchUpdateTypes": ["minor", "patch"],
|
||||
"automerge": true
|
||||
},
|
||||
{
|
||||
"matchDatasources": ["github-releases"],
|
||||
"matchDepNames": ["zerotier/ZeroTierOne"],
|
||||
"matchUpdateTypes": ["minor", "patch"],
|
||||
"automerge": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -149,5 +149,5 @@ SOFTWARE.
|
||||
[issue]: https://github.com/hassio-addons/addon-zerotier/issues
|
||||
[reddit]: https://reddit.com/r/homeassistant
|
||||
[releases]: https://github.com/hassio-addons/addon-zerotier/releases
|
||||
[semver]: http://semver.org/spec/v2.0.0.htm
|
||||
[semver]: https://semver.org/spec/v2.0.0.html
|
||||
[zerotier]: https://www.zerotier.com/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
ARG BUILD_FROM=ghcr.io/hassio-addons/base:13.1.3
|
||||
ARG BUILD_FROM=ghcr.io/hassio-addons/base:14.1.0
|
||||
# hadolint ignore=DL3006
|
||||
FROM ${BUILD_FROM}
|
||||
|
||||
@@ -6,21 +6,22 @@ FROM ${BUILD_FROM}
|
||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
|
||||
# Setup base
|
||||
ARG ZERO_TIER_ONE_VERSION="1.12.0"
|
||||
# hadolint ignore=DL3003
|
||||
RUN \
|
||||
apk add --no-cache --virtual .build-dependencies \
|
||||
build-base=0.5-r3 \
|
||||
cargo=1.64.0-r2 \
|
||||
git=2.38.4-r1 \
|
||||
linux-headers=5.19.5-r0 \
|
||||
openssl-dev=3.0.8-r0 \
|
||||
pkgconf=1.9.4-r0 \
|
||||
cargo=1.71.1-r0 \
|
||||
git=2.40.1-r0 \
|
||||
linux-headers=6.3-r0 \
|
||||
openssl-dev=3.1.2-r0 \
|
||||
pkgconf=1.9.5-r0 \
|
||||
\
|
||||
&& apk add --no-cache \
|
||||
libgcc=12.2.1_git20220924-r4 \
|
||||
libstdc++=12.2.1_git20220924-r4 \
|
||||
libgcc=12.2.1_git20220924-r10 \
|
||||
libstdc++=12.2.1_git20220924-r10 \
|
||||
\
|
||||
&& git clone --branch "1.10.4" --depth=1 \
|
||||
&& git clone --branch "${ZERO_TIER_ONE_VERSION}" --depth=1 \
|
||||
"https://github.com/zerotier/ZeroTierOne.git" /tmp/zerotier \
|
||||
\
|
||||
&& cd /tmp/zerotier \
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
---
|
||||
build_from:
|
||||
aarch64: ghcr.io/hassio-addons/base:13.1.3
|
||||
amd64: ghcr.io/hassio-addons/base:13.1.3
|
||||
armhf: ghcr.io/hassio-addons/base:13.1.3
|
||||
armv7: ghcr.io/hassio-addons/base:13.1.3
|
||||
i386: ghcr.io/hassio-addons/base:13.1.3
|
||||
aarch64: ghcr.io/hassio-addons/base:14.1.0
|
||||
amd64: ghcr.io/hassio-addons/base:14.1.0
|
||||
armhf: ghcr.io/hassio-addons/base:14.1.0
|
||||
armv7: ghcr.io/hassio-addons/base:14.1.0
|
||||
i386: ghcr.io/hassio-addons/base:14.1.0
|
||||
codenotary:
|
||||
base_image: codenotary@frenck.dev
|
||||
signer: codenotary@frenck.dev
|
||||
|
||||
Reference in New Issue
Block a user