Skip to content

Update hpa apiVersion to v2 #5

Update hpa apiVersion to v2

Update hpa apiVersion to v2 #5

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: 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