You've already forked helm-docker
Compare commits
7 Commits
536f048d4a
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
06b0a48cff
|
|||
|
1f164f8197
|
|||
|
761b2d5416
|
|||
|
7bfb7839ce
|
|||
|
60e387d423
|
|||
|
2b4be2c079
|
|||
|
3bd63b7db7
|
@@ -53,6 +53,7 @@ jobs:
|
||||
git push origin "${defined_tag}"
|
||||
|
||||
- name: Trigger "Push tagged images" workflow
|
||||
if: steps.check_change.outputs.changed == 'true'
|
||||
uses: actions/github-script@v8.0.0
|
||||
with:
|
||||
script: |
|
||||
|
||||
@@ -44,7 +44,7 @@ jobs:
|
||||
- name: Build and push image
|
||||
run: |
|
||||
docker buildx build \
|
||||
--build-arg HELM_VERSION=${{ github.ref_name }} \
|
||||
--build-arg HELM_VERSION=${{ steps.version_extraction.outputs.version_raw }} \
|
||||
--file Dockerfile \
|
||||
--platform linux/arm64 \
|
||||
--provenance false \
|
||||
@@ -84,7 +84,7 @@ jobs:
|
||||
- name: Build and push image
|
||||
run: |
|
||||
docker buildx build \
|
||||
--build-arg HELM_VERSION=${{ github.ref_name }} \
|
||||
--build-arg HELM_VERSION=${{ steps.version_extraction.outputs.version_raw }} \
|
||||
--file Dockerfile \
|
||||
--platform linux/amd64 \
|
||||
--provenance false \
|
||||
|
||||
@@ -3,16 +3,11 @@ FROM docker.io/library/alpine:3.22.2
|
||||
ARG HELM_VERSION
|
||||
|
||||
RUN apk add bash curl git openssl && \
|
||||
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 --output /tmp/install.sh
|
||||
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-4 --output /tmp/install.sh
|
||||
|
||||
RUN if [[ -z "${HELM_VERSION+x}" ]]; then bash /tmp/install.sh; fi
|
||||
RUN if [[ -n "${HELM_VERSION+x}" ]]; then bash /tmp/install.sh --version "${HELM_VERSION}"; fi
|
||||
|
||||
RUN rm /tmp/install.sh
|
||||
|
||||
# Install additionally helm plugins
|
||||
RUN helm plugin install https://github.com/chartmuseum/helm-push.git && \
|
||||
helm plugin install https://github.com/helm-unittest/helm-unittest.git && \
|
||||
helm plugin install https://github.com/losisin/helm-values-schema-json.git
|
||||
|
||||
ENTRYPOINT [ "/usr/local/bin/helm" ]
|
||||
|
||||
2
Makefile
2
Makefile
@@ -1,6 +1,6 @@
|
||||
# HELM_VERSION
|
||||
# Only required to install a specify version
|
||||
HELM_VERSION?=v3.19.0 # renovate: datasource=github-releases depName=helm/helm
|
||||
HELM_VERSION?=v4.0.0 # renovate: datasource=github-releases depName=helm/helm
|
||||
|
||||
# CONTAINER_RUNTIME
|
||||
# The CONTAINER_RUNTIME variable will be used to specified the path to a
|
||||
|
||||
@@ -7,7 +7,7 @@ goal of this project is to package the binary `helm` as container image and prov
|
||||
The source code of the binary can be found in the upstream project of [helm](github.com/helm/helm).
|
||||
|
||||
```bash
|
||||
IMAGE_VERSION=3.19.0
|
||||
IMAGE_VERSION=4.0.0
|
||||
docker run \
|
||||
--rm \
|
||||
--volume "$(pwd):$(pwd)" \
|
||||
|
||||
@@ -31,6 +31,10 @@
|
||||
],
|
||||
"matchManagers": [
|
||||
"regex"
|
||||
],
|
||||
"matchUpdateTypes": [
|
||||
"minor",
|
||||
"patch"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user