You've already forked helm-docker
Compare commits
10 Commits
274cf27972
...
v4.0.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
852f78755c
|
|||
|
cdb88ae9e9
|
|||
|
b8ec816864
|
|||
|
06b0a48cff
|
|||
|
1f164f8197
|
|||
|
761b2d5416
|
|||
|
7bfb7839ce
|
|||
|
60e387d423
|
|||
|
2b4be2c079
|
|||
|
3bd63b7db7
|
@@ -17,7 +17,7 @@ jobs:
|
|||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5.0.0
|
- uses: actions/checkout@v5.0.1
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@@ -53,6 +53,7 @@ jobs:
|
|||||||
git push origin "${defined_tag}"
|
git push origin "${defined_tag}"
|
||||||
|
|
||||||
- name: Trigger "Push tagged images" workflow
|
- name: Trigger "Push tagged images" workflow
|
||||||
|
if: steps.check_change.outputs.changed == 'true'
|
||||||
uses: actions/github-script@v8.0.0
|
uses: actions/github-script@v8.0.0
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ jobs:
|
|||||||
build-arm64:
|
build-arm64:
|
||||||
runs-on: ubuntu-latest-arm64
|
runs-on: ubuntu-latest-arm64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5.0.0
|
- uses: actions/checkout@v5.0.1
|
||||||
- uses: docker/setup-qemu-action@v3.7.0
|
- uses: docker/setup-qemu-action@v3.7.0
|
||||||
- uses: docker/setup-buildx-action@v3.11.1
|
- uses: docker/setup-buildx-action@v3.11.1
|
||||||
|
|
||||||
@@ -33,7 +33,7 @@ jobs:
|
|||||||
build-amd64:
|
build-amd64:
|
||||||
runs-on: ubuntu-latest-amd64
|
runs-on: ubuntu-latest-amd64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5.0.0
|
- uses: actions/checkout@v5.0.1
|
||||||
- uses: docker/setup-qemu-action@v3.7.0
|
- uses: docker/setup-qemu-action@v3.7.0
|
||||||
- uses: docker/setup-buildx-action@v3.11.1
|
- uses: docker/setup-buildx-action@v3.11.1
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ jobs:
|
|||||||
markdown-lint:
|
markdown-lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5.0.0
|
- uses: actions/checkout@v5.0.1
|
||||||
- uses: DavidAnson/markdownlint-cli2-action@v20.0.0
|
- uses: DavidAnson/markdownlint-cli2-action@v21.0.0
|
||||||
with:
|
with:
|
||||||
globs: '**/*.md'
|
globs: '**/*.md'
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ jobs:
|
|||||||
echo "version_raw=${VERSION}" >> $GITHUB_OUTPUT
|
echo "version_raw=${VERSION}" >> $GITHUB_OUTPUT
|
||||||
echo "version_cleaned=${VERSION/v/}" >> $GITHUB_OUTPUT
|
echo "version_cleaned=${VERSION/v/}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- uses: actions/checkout@v5.0.0
|
- uses: actions/checkout@v5.0.1
|
||||||
with:
|
with:
|
||||||
fetch-tags: true
|
fetch-tags: true
|
||||||
ref: "${{ steps.version_extraction.outputs.version_raw }}"
|
ref: "${{ steps.version_extraction.outputs.version_raw }}"
|
||||||
@@ -44,7 +44,7 @@ jobs:
|
|||||||
- name: Build and push image
|
- name: Build and push image
|
||||||
run: |
|
run: |
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--build-arg HELM_VERSION=${{ github.ref_name }} \
|
--build-arg HELM_VERSION=${{ steps.version_extraction.outputs.version_raw }} \
|
||||||
--file Dockerfile \
|
--file Dockerfile \
|
||||||
--platform linux/arm64 \
|
--platform linux/arm64 \
|
||||||
--provenance false \
|
--provenance false \
|
||||||
@@ -67,7 +67,7 @@ jobs:
|
|||||||
echo "version_raw=${VERSION}" >> $GITHUB_OUTPUT
|
echo "version_raw=${VERSION}" >> $GITHUB_OUTPUT
|
||||||
echo "version_cleaned=${VERSION/v/}" >> $GITHUB_OUTPUT
|
echo "version_cleaned=${VERSION/v/}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- uses: actions/checkout@v5.0.0
|
- uses: actions/checkout@v5.0.1
|
||||||
with:
|
with:
|
||||||
fetch-tags: true
|
fetch-tags: true
|
||||||
ref: "${{ steps.version_extraction.outputs.version_raw }}"
|
ref: "${{ steps.version_extraction.outputs.version_raw }}"
|
||||||
@@ -84,7 +84,7 @@ jobs:
|
|||||||
- name: Build and push image
|
- name: Build and push image
|
||||||
run: |
|
run: |
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--build-arg HELM_VERSION=${{ github.ref_name }} \
|
--build-arg HELM_VERSION=${{ steps.version_extraction.outputs.version_raw }} \
|
||||||
--file Dockerfile \
|
--file Dockerfile \
|
||||||
--platform linux/amd64 \
|
--platform linux/amd64 \
|
||||||
--provenance false \
|
--provenance false \
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ jobs:
|
|||||||
runs-on:
|
runs-on:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5.0.0
|
- uses: actions/checkout@v5.0.1
|
||||||
- uses: peter-evans/dockerhub-description@v5.0.0
|
- uses: peter-evans/dockerhub-description@v5.0.0
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_IO_USERNAME }}
|
username: ${{ secrets.DOCKER_IO_USERNAME }}
|
||||||
|
|||||||
@@ -3,16 +3,11 @@ FROM docker.io/library/alpine:3.22.2
|
|||||||
ARG HELM_VERSION
|
ARG HELM_VERSION
|
||||||
|
|
||||||
RUN apk add bash curl git openssl && \
|
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 [[ -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 if [[ -n "${HELM_VERSION+x}" ]]; then bash /tmp/install.sh --version "${HELM_VERSION}"; fi
|
||||||
|
|
||||||
RUN rm /tmp/install.sh
|
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" ]
|
ENTRYPOINT [ "/usr/local/bin/helm" ]
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -1,6 +1,6 @@
|
|||||||
# HELM_VERSION
|
# HELM_VERSION
|
||||||
# Only required to install a specify version
|
# Only required to install a specify version
|
||||||
HELM_VERSION?=v3.19.0 # renovate: datasource=github-releases depName=helm/helm
|
HELM_VERSION?=v4.0.1 # 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
|
||||||
|
|||||||
@@ -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).
|
The source code of the binary can be found in the upstream project of [helm](github.com/helm/helm).
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
IMAGE_VERSION=3.19.0
|
IMAGE_VERSION=4.0.1
|
||||||
docker run \
|
docker run \
|
||||||
--rm \
|
--rm \
|
||||||
--volume "$(pwd):$(pwd)" \
|
--volume "$(pwd):$(pwd)" \
|
||||||
|
|||||||
@@ -31,6 +31,10 @@
|
|||||||
],
|
],
|
||||||
"matchManagers": [
|
"matchManagers": [
|
||||||
"regex"
|
"regex"
|
||||||
|
],
|
||||||
|
"matchUpdateTypes": [
|
||||||
|
"minor",
|
||||||
|
"patch"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user