Skip to content

Release Charts

Release Charts #5

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
environment:

Check failure on line 19 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / Release Charts

Invalid workflow file

The workflow is not valid. .github/workflows/release.yaml (Line: 19, Col: 1): Unexpected value 'environment'
FAKE: ${{ env.GITHUB_ACTION_PATH }}/
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: bitdeps/[email protected]
with:
oci_registry: ghcr.io/username
oci_username: username
oci_password: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
charts_dir: ${{ env.GITHUB_ACTION_PATH }}/