deps: bump actions/configure-pages from 4 to 5 (#202) #35
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: Release Retina Charts | |
on: | |
push: | |
branches: [main] | |
tags: ["v*"] | |
permissions: | |
contents: read | |
packages: write | |
jobs: | |
push-retina-charts: | |
name: Publish Retina Helm Charts | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: azure/[email protected] | |
id: install | |
- name: Log in to registry | |
run: echo "${{ secrets.GITHUB_TOKEN }}" | helm registry login ghcr.io -u $ --password-stdin | |
- name: Build/Push Chart | |
shell: bash | |
run: | | |
set -euo pipefail | |
export TAG=$(make version) | |
echo $TAG | |
helm package ./deploy/manifests/controller/helm/retina --version $TAG | |
helm push retina-$TAG.tgz oci://ghcr.io/${{ github.repository }}/charts |