Skip to content

Fix broken links in the docs #215

Fix broken links in the docs

Fix broken links in the docs #215

Workflow file for this run

name: Helm Chart
on:
# PR testing before merge
pull_request:
types:
- opened
- edited
- synchronize
# For Testing
push:
branches:
- feature_helm_*
- fix_helm_*
# For Release
workflow_run:
workflows: ["Versioning"]
types:
- completed
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
release:
name: Helm Chart
# depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
permissions:
packages: write
contents: read
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
logout: true
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.8.1
- name: Helm Chart Build
shell: bash
run: |-
echo ${{ secrets.GITHUB_TOKEN }} | helm registry login -u ${{ github.repository_owner }} --password-stdin ghcr.io
make helm-package
env:
HELM_EXPERIMENTAL_OCI: '1'
- name: Helm Chart Push
shell: bash
if: ${{ github.event.workflow_run.conclusion == 'success' }}
run: |-
echo ${{ secrets.GITHUB_TOKEN }} | helm registry login -u ${{ github.repository_owner }} --password-stdin ghcr.io
make push-helm-package
env:
HELM_EXPERIMENTAL_OCI: '1'
- name: Helm Chart Logout
shell: bash
run: |-
helm registry logout ghcr.io
env:
HELM_EXPERIMENTAL_OCI: '1'