From 8e2c811bd6fc4602dc4537cd411b86f047a2f8b8 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Sun, 2 Nov 2025 22:33:13 +0100 Subject: [PATCH] docs(README): update documentation --- README.md | 62 ++++++++----------------------------------------------- 1 file changed, 9 insertions(+), 53 deletions(-) diff --git a/README.md b/README.md index 90d6583..2831787 100644 --- a/README.md +++ b/README.md @@ -3,59 +3,15 @@ [![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 -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). -## drone - -Here is an example to lint, package and deploy a chart to chartmuseum via -`git.cryptic.systems/volker.raschek/helm`. - -```yaml -kind: pipeline -type: kubernetes -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 +```bash +IMAGE_VERSION=3.19.0 +docker run \ + --rm \ + --volume "$(pwd):$(pwd)" \ + --workdir "$(pwd)" \ + "git.cryptic.systems/volker.raschek/helm:${IMAGE_VERSION}" \ + version ```