Skip to content

Commit

Permalink
switch to single release file
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemrm committed Dec 7, 2024
1 parent 50699a8 commit ae6706d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 44 deletions.
37 changes: 0 additions & 37 deletions .github/workflows/helm-release-voyager.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Release Lemmy
name: Release Helm

on:
push:
tags:
- lemmy-v*
- '*/v*'

jobs:
release:
Expand All @@ -24,14 +24,17 @@ jobs:
echo '${{ secrets.MRMHUB_PASSWORD }}' | helm registry login mrmhub.io --username '${{ secrets.MRMHUB_USERNAME }}' --password-stdin
- name: Configure chart version
id: chart_version
id: chart_meta
run: |
echo "chart_version=$(cut -d - -f 2- <<<"${{ github.ref }}")" >> "$GITHUB_OUTPUT"
cat >> "$GITHUB_OUTPUT" <<EOF
chart_name="$(cut -d / -f 1 <<<"${{ github.ref }}")"
chart_version="$(cut -d / -f 2- <<<"${{ github.ref }}")"
EOF
- name: Package chart
run: |
helm package lemmy --version "${{ steps.chart_version.outputs.chart_version }}"
helm package "${{ steps.chart_meta.outputs.chart_name }}" --version "${{ steps.chart_meta.outputs.chart_version }}"
- name: Upload chart
run: |
helm push "lemmy-${{ steps.chart_version.outputs.chart_version }}.tgz" oci://mrmhub.io/mikemrm
helm push "${{ steps.chart_meta.outputs.chart_name }}-${{ steps.chart_meta.outputs.chart_version }}.tgz" oci://mrmhub.io/mikemrm

0 comments on commit ae6706d

Please sign in to comment.