diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index abc6595..1730111 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,6 +11,7 @@ jobs: if: github.repository == 'nerdswords/helm-charts' permissions: contents: write + packages: write # needed for ghcr access runs-on: ubuntu-latest steps: - name: Checkout @@ -34,6 +35,24 @@ jobs: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" CR_RELEASE_NAME_TEMPLATE: "yace-helm-chart-{{ .Version }}" + # see https://github.com/helm/chart-releaser/issues/183 + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Push charts to GHCR + run: | + shopt -s nullglob + for pkg in .cr-release-packages/*; do + if [ -z "${pkg:-}" ]; then + break + fi + helm push "${pkg}" "oci://ghcr.io/${GITHUB_REPOSITORY_OWNER}/charts" + done + sync-readme: needs: [release] permissions: diff --git a/charts/yet-another-cloudwatch-exporter/Chart.yaml b/charts/yet-another-cloudwatch-exporter/Chart.yaml index 52d18ae..532ed40 100644 --- a/charts/yet-another-cloudwatch-exporter/Chart.yaml +++ b/charts/yet-another-cloudwatch-exporter/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: yet-another-cloudwatch-exporter description: Yace - Yet Another CloudWatch Exporter type: application -version: 0.28.0 -appVersion: "v0.57.0" +version: 0.29.0 +appVersion: "v0.57.1" home: https://github.com/nerdswords/helm-charts sources: - https://github.com/nerdswords/yet-another-cloudwatch-exporter diff --git a/charts/yet-another-cloudwatch-exporter/README.md b/charts/yet-another-cloudwatch-exporter/README.md index 95b1694..7ac0b65 100644 --- a/charts/yet-another-cloudwatch-exporter/README.md +++ b/charts/yet-another-cloudwatch-exporter/README.md @@ -1,6 +1,6 @@ # yet-another-cloudwatch-exporter -![Version: 0.28.0](https://img.shields.io/badge/Version-0.28.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.57.0](https://img.shields.io/badge/AppVersion-v0.57.0-informational?style=flat-square) +![Version: 0.29.0](https://img.shields.io/badge/Version-0.29.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.57.1](https://img.shields.io/badge/AppVersion-v0.57.1-informational?style=flat-square) Yace - Yet Another CloudWatch Exporter