Skip to content

Update main.yml

Update main.yml #4

Workflow file for this run

name: Publish Helm Chart to Quay.io
on:
push:
branches:
- main
tags:
- 'v*'
jobs:
build-and-publish-chart:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Helm
uses: azure/[email protected]
- name: Lint Helm Chart
run: helm lint ./
- name: Package Helm Chart
run: helm package ./ -d ./
- name: Push Chart to Quay.io
run: |
export HELM_EXPERIMENTAL_OCI=1
helm registry login -u ${{ secrets.QUAY_USERNAME }} -p ${{ secrets.QUAY_PASSWORD }} quay.io
helm push ./-*.tgz oci://quay.io/crozltd
helm registry logout quay.io