Skip to content

Reverted custom and pod label changes #15

Reverted custom and pod label changes

Reverted custom and pod label changes #15

Workflow file for this run

name: "Publish Chart"
on:
pull_request:
paths:
- .github/workflows/publish_chart.yml
- chart/**
push:
paths:
- .github/workflows/publish_chart.yml
- chart/**
branches:
- main
jobs:
publish-chart:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: Install Helm
uses: azure/setup-helm@v3
with:
version: v3.14.0
- name: Copy README.md to Chart Directory
run: cp README.md chart/README.md
- name: Create Chart Package
run: helm package chart -d ./tmp
- name: Login to Registry
run: echo "${{ secrets.REGISTRY_PASSWORD }}" | helm registry login ${{ vars.REGISTRY_ADDR }} --username ${{ vars.REGISTRY_USERNAME }} --password-stdin
- name: Push Packaged Chart to Registry
run: helm push ./tmp/* oci://${{ vars.REGISTRY_ADDR }}/library