mirror of
https://github.com/harness-community/drone-helm-chart-container-registry.git
synced 2026-06-04 18:24:12 +08:00
b1e4138e587b82cc28fe58b0504fae5944d4bf8a
drone-push-helm-chart-docker-registry
Synopsis
This plugin is designed to streamline the packaging and distribution of Helm charts to a Docker registry.
To learn how to utilize Drone plugins in Harness CI, please consult the provided documentation.
Parameters
| Parameter | Choices/Defaults | Comments |
|---|---|---|
chart_name string required |
The name of the chart in Chart.yaml | |
chart_version string |
Defaults: 1.0.0 | The project version present in Chart.yaml |
docker_registry string |
Defaults: registry.hub.docker.com | Docker registry where the packaged chart will be published |
chart_path string |
Defaults: ./ |
Directory containing the helm chart |
docker_username string required |
Docker username to login to the above registry. | |
docker_password string required |
Docker PAT to authenticate | |
docker_namespace string required |
Namespace under which the chart will be published |
Plugin Image
The plugin harnesscommunity/drone-push-helm-chart-docker-registry is available for the following architectures:
| OS | Tag |
|---|---|
| linux/amd64 | linux-amd64 |
| linux/arm64 | linux-arm64 |
| windows/amd64 | windows-amd64 |
Examples
# Plugin YAML
- step:
type: Plugin
name: Push Helm to Docker
identifier: Push_Helm_to_Docker
spec:
connectorRef: harness-docker-connector
image: harnesscommunity/drone-helm-chart-docker-registry:linux-amd64
settings:
chart_name: mywebapp
docker_username: <+variable.docker_username>
docker_password: <+secrets.getValue("docker_pat")>
chart_path: test
chart_version: 5.0.0
docker_namespace: <+variable.namespace>
ℹ️ If you notice any issues in this documentation, you can edit this document to improve it.
Description
Languages
Go
95.2%
Shell
3.1%
Dockerfile
1.7%