From cfbdf1ad68a2e57dacfbdecf44edb843a3c173f8 Mon Sep 17 00:00:00 2001 From: Alex Manning Date: Tue, 21 Feb 2023 22:12:56 +0000 Subject: [PATCH] Build the mastodon chart. --- .woodpecker/mastodon.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .woodpecker/mastodon.yaml diff --git a/.woodpecker/mastodon.yaml b/.woodpecker/mastodon.yaml new file mode 100644 index 0000000..abd6b3b --- /dev/null +++ b/.woodpecker/mastodon.yaml @@ -0,0 +1,16 @@ +--- +branches: + - main + +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: + - 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