charts/.woodpecker/mastodon.yaml
2023-03-01 21:36:26 +00:00

21 lines
612 B
YAML

---
when:
branch: never
branches:
- never
pipeline:
clone-real:
image: "docker.io/alpine/git"
commands:
- git clone --no-tags --depth=1 https://github.com/mastodon/chart.git mastodon-chart
package:
image: "docker.io/alpine/helm:latest"
secrets: [helm_user, helm_password, helm_repo]
commands:
- rm mastodon-chart/Chart.lock
- helm dependency build mastodon-chart
- helm plugin install https://github.com/chartmuseum/helm-push
- helm repo add therepo $HELM_REPO --username $HELM_USER --password $HELM_PASSWORD
- helm cm-push mastodon-chart therepo