charts/.woodpecker/mariadb.yaml

14 lines
387 B
YAML
Raw Normal View History

2023-03-03 23:06:19 +00:00
---
when:
path: "charts/mariadb/**"
branches:
- main
pipeline:
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/mariadb therepo