feat(renovate): Make custom renovate container including clustertool for chart-handling

This commit is contained in:
Kjeld Schouten
2025-04-09 12:48:28 +02:00
parent 6183a6a72b
commit ae234ca50f
3 changed files with 25 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
# hadolint ignore=DL3007
FROM docker.io/renovate/renovate:39.234.0-full
ARG VERSION
ARG CONTAINER_NAME
ARG CONTAINER_VER
# Download and set up the clustertool binary
RUN curl -L "https://github.com/truecharts/public/releases/download/v${VERSION}/clustertool_${VERSION}_linux_amd64.tar.gz" -o /tmp/clustertool.tar.gz \
&& tar -xzvf /tmp/clustertool.tar.gz -C /usr/local/bin \
&& chmod +x /usr/local/bin/clustertool \
&& rm /tmp/clustertool.tar.gz
# Maintainer and metadata
LABEL "maintainer"="TrueCharts <info@truecharts.org>"
LABEL "org.opencontainers.image.source"="https://github.com/truecharts/apps"
LABEL org.opencontainers.image.title="${CONTAINER_NAME}"
LABEL org.opencontainers.image.url="https://truecharts.org/docs/charts/${CONTAINER_NAME}"
LABEL org.opencontainers.image.version="${CONTAINER_VER}"
LABEL org.opencontainers.image.description="Container for ${CONTAINER_NAME} by TrueCharts"
LABEL org.opencontainers.image.authors="TrueCharts"
LABEL org.opencontainers.image.documentation="https://truecharts.org/docs/charts/${CONTAINER_NAME}"
+1
View File
@@ -0,0 +1 @@
2.0.0-BETA-8
+2
View File
@@ -0,0 +1,2 @@
# curl -s "https://api.github.com/repos/truecharts/clustertool/releases/latest" | jq -r '.name' | sed 's/^clustertool-v//'
echo "2.0.0-BETA-8"