Skip to content

Release Charts

Release Charts #25

Workflow file for this run

name: Release Charts
on:
push:
branches:
- main
paths:
- "Chart.*"
- "templates/**"
- "values.yaml"
- "charts/**"
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
with:
detached: true
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Run chart-releaser
uses: samvera-labs/helm-oci-charts-releaser@main
with:
oci_registry: ghcr.io/samvera-labs
oci_username: samvera-labs
oci_password: ${{ secrets.GITHUB_TOKEN }}
oci_directory: charts
github_token: ${{ secrets.GITHUB_TOKEN }}
tag_name_pattern: "{chartName}-chart"