Skip to content

Release Charts

Release Charts #11

Workflow file for this run

name: Release Charts
on:
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Read Yaml
id: yaml
run: |
ver=$(yq e '.version' charts/mgob/Chart.yaml)
echo "::notice title=Chart Version::Chart Version is $ver"
echo "VERSION=$ver" >> $GITHUB_OUTPUT
- name: Publish chart
uses: appany/helm-oci-chart-releaser@v0.4.1
with:
name: mgob
repository: maxisam/mgob
tag: ${{ steps.yaml.outputs.VERSION }}
path: charts/mgob
registry: registry-1.docker.io
registry_username: ${{ secrets.DOCKER_USERNAME }}
registry_password: ${{ secrets.DOCKER_PASSWORD }}
update_dependencies: "true"