Skip to content

[artemiscloud-operator-crds] update to version 0.2.5 and operator ver… #74

[artemiscloud-operator-crds] update to version 0.2.5 and operator ver…

[artemiscloud-operator-crds] update to version 0.2.5 and operator ver… #74

Workflow file for this run

name: Release Charts
on:
workflow_dispatch:
inputs:
branch:
description: 'branch'
required: true
push:
branches:
- releases/**
jobs:
release:
# 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:
contents: write
runs-on: ubuntu-latest
steps:
- id: get_branch
name: Get Branch Name
run: |
if [[ github.event_name == 'push' ]]; then
echo "BRANCH_NAME=${{ github.ref }}" >> $GITHUB_OUTPUT
else
echo "BRANCH_NAME=${{ inputs.branch }}" >> $GITHUB_OUTPUT
fi
- name: Checkout specific branch (if push or input provided)
uses: actions/checkout@v4
with:
ref: ${{ steps.get_branch.outputs.BRANCH_NAME }}
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
uses: azure/setup-helm@v4
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Add repositories
run: |
helm repo add tlbueno https://tlbueno.github.io/helm-charts
- name: Run chart-releaser
uses: helm/[email protected]
with:
skip_existing: true
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"