docs(README): update documentation
All checks were successful
Lint Markdown files / markdown-lint (push) Successful in 16s
Update Docker Hub Description / update-description-on-hub-docker-io (push) Successful in 19s
Build / build-amd64 (push) Successful in 27s
Build / build-arm64 (push) Successful in 1m11s

This commit is contained in:
2025-11-02 22:33:13 +01:00
parent be0c064f75
commit 8e2c811bd6

View File

@@ -3,59 +3,15 @@
[![Docker Pulls](https://img.shields.io/docker/pulls/volkerraschek/helm)](https://hub.docker.com/r/volkerraschek/helm) [![Docker Pulls](https://img.shields.io/docker/pulls/volkerraschek/helm)](https://hub.docker.com/r/volkerraschek/helm)
This project contains all sources to build the container image `git.cryptic.systems/volker.raschek/helm`. The primary This project contains all sources to build the container image `git.cryptic.systems/volker.raschek/helm`. The primary
goal of this project is to package the binary `helm` as container image to provide the functionally for CI/CD workflows. goal of this project is to package the binary `helm` as container image and provide the functionally for CI/CD workflows.
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).
## drone ```bash
IMAGE_VERSION=3.19.0
Here is an example to lint, package and deploy a chart to chartmuseum via docker run \
`git.cryptic.systems/volker.raschek/helm`. --rm \
--volume "$(pwd):$(pwd)" \
```yaml --workdir "$(pwd)" \
kind: pipeline "git.cryptic.systems/volker.raschek/helm:${IMAGE_VERSION}" \
type: kubernetes version
name: linter
platform:
os: linux
arch: amd64
steps:
- name: helm lint
commands:
- helm lint
image: git.cryptic.systems/volker.raschek/helm:latest
resources:
limits:
cpu: 50
memory: 50M
---
kind: pipeline
type: kubernetes
name: release
platform:
os: linux
steps:
- name: release-helm-chart
commands:
- helm plugin install https://github.com/chartmuseum/helm-push.git
- helm repo add myrepo https://charts.example.com/myrepo
- helm package --version ${DRONE_TAG} .
- helm cm-push ${DRONE_REPO_NAME}-${DRONE_TAG}.tgz myrepo
environment:
HELM_REPO_PASSWORD:
from_secret: helm_repo_password
HELM_REPO_USERNAME:
from_secret: helm_repo_username
image: git.cryptic.systems/volker.raschek/helm:latest
resources:
limits:
cpu: 50
memory: 50M
trigger:
event:
- tag
``` ```