try oci_name variable #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "$GITHUB_ACTOR@users.noreply.github.com" | ||
- 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_name: charts/fcrepo | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
tag_name_pattern: {chartName}-chart |