2023-04-28 18:19:26 +00:00
|
|
|
---
|
|
|
|
when:
|
|
|
|
path: "charts/piper/**"
|
2023-08-14 22:03:04 +00:00
|
|
|
branch: main
|
2023-08-14 22:04:58 +00:00
|
|
|
steps:
|
2023-04-28 18:19:26 +00:00
|
|
|
package:
|
|
|
|
image: "docker.io/alpine/helm:latest"
|
|
|
|
secrets: [helm_user, helm_password, helm_repo]
|
|
|
|
commands:
|
|
|
|
- helm plugin install https://github.com/chartmuseum/helm-push
|
|
|
|
- helm repo add therepo $HELM_REPO --username $HELM_USER --password $HELM_PASSWORD
|
|
|
|
- helm cm-push charts/piper therepo
|