2023-02-21 22:12:56 +00:00
|
|
|
---
|
2023-03-01 21:36:26 +00:00
|
|
|
when:
|
|
|
|
branch: never
|
2023-02-21 22:12:56 +00:00
|
|
|
branches:
|
2023-03-01 21:34:54 +00:00
|
|
|
- never
|
2023-02-21 22:12:56 +00:00
|
|
|
|
|
|
|
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:
|
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
|