You've already forked helm-docker
Compare commits
64 Commits
Author | SHA1 | Date | |
---|---|---|---|
44ecf0efb1 | |||
c409af16d9 | |||
417679a5fd | |||
0d943376e7
|
|||
f73eddd042
|
|||
38c3bc7d5d
|
|||
8987794f2d
|
|||
b6207b0e77
|
|||
9f309b4730
|
|||
c408d860d2
|
|||
5d5e22df79 | |||
3a1f44c5c1
|
|||
b6105d12e5 | |||
152f20fe9b
|
|||
3eb4d90651
|
|||
aa8afab6dd
|
|||
2bded211fb | |||
9ac4ed9a07 | |||
cfe9857d40
|
|||
2138b801cf | |||
4430a371d4
|
|||
a1311cdb51
|
|||
67e3106a54
|
|||
5e7defd1a2
|
|||
b970f8d81e
|
|||
43985ce2e5 | |||
ea222a8314 | |||
fc81067211 | |||
ad0a308774 | |||
66ae6e4dbc | |||
3a7e0cf35f
|
|||
5f4aff7976 | |||
946cf7d351 | |||
6928585892 | |||
f6ede8ceb9 | |||
2b76f8e8bb | |||
bd1e6dd432 | |||
9af901b752 | |||
5d5f8393bb | |||
31019deafc
|
|||
5855874feb
|
|||
2ef2932c8d | |||
9d13af7eb5
|
|||
cfea6146af | |||
82b29f2fe2 | |||
ede4e04b5b | |||
733f0d32c6 | |||
b45bc96c1c | |||
3a59159952 | |||
3975c50d29 | |||
71b37676d1
|
|||
109f7300c6
|
|||
d8271a003f | |||
5ec5f7333d | |||
f94e2dc770 | |||
142144ecf5 | |||
dffd6eb068
|
|||
ff5b969f5f
|
|||
82058c1b30
|
|||
4c77747a2c | |||
acd9f0d686 | |||
19a7d4a67e | |||
e2eb729cec
|
|||
93fbf00b17 |
716
.drone.yml
716
.drone.yml
File diff suppressed because it is too large
Load Diff
13
Dockerfile
13
Dockerfile
@ -1,11 +1,16 @@
|
|||||||
FROM docker.io/library/alpine:3.14
|
FROM docker.io/library/alpine:3.18.3
|
||||||
|
|
||||||
ARG HELM_VERSION
|
ARG HELM_VERSION
|
||||||
|
|
||||||
COPY install.sh /install.sh
|
RUN apk add bash curl git openssl && \
|
||||||
RUN VERSION=${HELM_VERSION} /install.sh
|
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 --output /tmp/install.sh
|
||||||
|
|
||||||
|
RUN [[ ${HELM_VERSION} == "" ]]; bash /tmp/install.sh
|
||||||
|
RUN [[ ${HELM_VERSION} != "" ]]; bash /tmp/install.sh --version ${HELM_VERSION}
|
||||||
|
|
||||||
|
RUN rm /tmp/install.sh
|
||||||
|
|
||||||
# Install additionally cm-push plugin
|
# Install additionally cm-push plugin
|
||||||
RUN helm plugin install https://github.com/chartmuseum/helm-push.git
|
RUN helm plugin install https://github.com/chartmuseum/helm-push.git
|
||||||
|
|
||||||
ENTRYPOINT [ "/usr/bin/helm" ]
|
ENTRYPOINT [ "/usr/local/bin/helm" ]
|
||||||
|
8
Makefile
8
Makefile
@ -1,16 +1,16 @@
|
|||||||
# HELM_VERSION
|
# HELM_VERSION
|
||||||
# Only required to install a specifiy version
|
# Only required to install a specifiy version
|
||||||
HELM_VERSION?=v3.8.0 # renovate: datasource=github-releases depName=helm lookupName=helm/helm versioning=semver
|
HELM_VERSION?=v3.12.3 # renovate: datasource=github-releases depName=helm/helm
|
||||||
|
|
||||||
# CONTAINER_RUNTIME
|
# CONTAINER_RUNTIME
|
||||||
# The CONTAINER_RUNTIME variable will be used to specified the path to a
|
# The CONTAINER_RUNTIME variable will be used to specified the path to a
|
||||||
# container runtime. This is needed to start and run a container image.
|
# container runtime. This is needed to start and run a container image.
|
||||||
CONTAINER_RUNTIME?=$(shell which docker)
|
CONTAINER_RUNTIME?=$(shell which podman)
|
||||||
|
|
||||||
# HELM_IMAGE_REGISTRY_NAME
|
# HELM_IMAGE_REGISTRY_NAME
|
||||||
# Defines the name of the new container to be built using several variables.
|
# Defines the name of the new container to be built using several variables.
|
||||||
HELM_IMAGE_REGISTRY_NAME:=docker.io
|
HELM_IMAGE_REGISTRY_NAME:=git.cryptic.systems
|
||||||
HELM_IMAGE_REGISTRY_USER:=volkerraschek
|
HELM_IMAGE_REGISTRY_USER:=volker.raschek
|
||||||
|
|
||||||
HELM_IMAGE_NAMESPACE?=${HELM_IMAGE_REGISTRY_USER}
|
HELM_IMAGE_NAMESPACE?=${HELM_IMAGE_REGISTRY_USER}
|
||||||
HELM_IMAGE_NAME:=helm
|
HELM_IMAGE_NAME:=helm
|
||||||
|
38
install.sh
38
install.sh
@ -1,38 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
set -xe
|
|
||||||
|
|
||||||
BASE_URL=https://get.helm.sh
|
|
||||||
|
|
||||||
if [ -z ${VERSION+x} ]; then
|
|
||||||
echo ${VERSION} not defined
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
case `uname -m` in
|
|
||||||
x86_64)
|
|
||||||
ARCH=amd64
|
|
||||||
;;
|
|
||||||
armv7l)
|
|
||||||
ARCH=arm
|
|
||||||
;;
|
|
||||||
aarch64)
|
|
||||||
ARCH=arm64
|
|
||||||
;;
|
|
||||||
ppc64le)
|
|
||||||
ARCH=ppc64le
|
|
||||||
;;
|
|
||||||
s390x)
|
|
||||||
ARCH=s390x
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "un-supported arch, exit ..."
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
apk add --update --no-cache wget git
|
|
||||||
wget ${BASE_URL}/helm-${VERSION}-linux-${ARCH}.tar.gz -O - | tar -xz
|
|
||||||
mv linux-${ARCH}/helm /usr/bin/helm
|
|
||||||
chmod +x /usr/bin/helm
|
|
||||||
rm -rf linux-${ARCH}
|
|
@ -1,4 +1,4 @@
|
|||||||
image: volkerraschek/helm:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
|
image: git.cryptic.systems/volker.raschek/helm:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
|
||||||
{{#if build.tags}}
|
{{#if build.tags}}
|
||||||
tags:
|
tags:
|
||||||
{{#each build.tags}}
|
{{#each build.tags}}
|
||||||
@ -8,18 +8,18 @@ tags:
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
manifests:
|
manifests:
|
||||||
-
|
-
|
||||||
image: volkerraschek/helm:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-amd64
|
image: git.cryptic.systems/volker.raschek/helm:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-amd64
|
||||||
platform:
|
platform:
|
||||||
architecture: amd64
|
architecture: amd64
|
||||||
os: linux
|
os: linux
|
||||||
-
|
-
|
||||||
image: volkerraschek/helm:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm-v7
|
image: git.cryptic.systems/volker.raschek/helm:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm-v7
|
||||||
platform:
|
platform:
|
||||||
architecture: arm
|
architecture: arm
|
||||||
os: linux
|
os: linux
|
||||||
variant: v7
|
variant: v7
|
||||||
-
|
-
|
||||||
image: volkerraschek/helm:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8
|
image: git.cryptic.systems/volker.raschek/helm:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8
|
||||||
platform:
|
platform:
|
||||||
architecture: arm64
|
architecture: arm64
|
||||||
os: linux
|
os: linux
|
||||||
|
@ -11,6 +11,14 @@
|
|||||||
"matchManagers": "droneci",
|
"matchManagers": "droneci",
|
||||||
"matchUpdateTypes": [ "minor", "patch"]
|
"matchUpdateTypes": [ "minor", "patch"]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"description": "Automatically update patch version of used container images in docker files",
|
||||||
|
"addLabels": [ "renovate/container-image", "renovate/automerge" ],
|
||||||
|
"automerge": true,
|
||||||
|
"matchBaseBranches": [ "master" ],
|
||||||
|
"matchManagers": [ "dockerfile" ],
|
||||||
|
"matchUpdateTypes": [ "patch" ]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"addLabels": [ "renovate/helm", "renovate/automerge" ],
|
"addLabels": [ "renovate/helm", "renovate/automerge" ],
|
||||||
"automerge": false,
|
"automerge": false,
|
||||||
|
Reference in New Issue
Block a user