charts/.woodpecker/mastodon.yaml

20 lines
617 B
YAML
Raw Normal View History

2023-02-21 22:12:56 +00:00
---
2023-03-01 21:36:26 +00:00
when:
2023-04-17 17:14:57 +00:00
path: "charts/mastodon/**"
2023-08-14 22:03:04 +00:00
branch: main
2023-02-21 22:12:56 +00:00
2023-08-14 22:04:58 +00:00
steps:
2023-02-21 22:12:56 +00:00
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:
2023-02-21 22:19:00 +00:00
- rm mastodon-chart/Chart.lock
2023-02-21 22:16:47 +00:00
- helm dependency build mastodon-chart
2023-02-21 22:12:56 +00:00
- 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