Merge pull request #714 from adrianchiris/fix-release-chart-update #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Push helm chart on release" | |
env: | |
IMAGE_NAME: ghcr.io/${{ github.repository }} | |
on: | |
push: | |
tags: | |
- v* | |
jobs: | |
package-and-push-helm-chart: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: install helm | |
uses: azure/setup-helm@v4.2.0 | |
with: | |
version: latest | |
- name: Check out the repo | |
uses: actions/checkout@v4 | |
- name: update chart | |
env: | |
GITHUB_TAG: ${{ github.ref_name }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GITHUB_REPO_OWNER: ${{ github.repository_owner }} | |
run: make chart-prepare-release | |
- name: push chart | |
env: | |
GITHUB_TAG: ${{ github.ref_name }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GITHUB_REPO_OWNER: ${{ github.repository_owner }} | |
run: make chart-push-release |