Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Second try: host and update helm charts repo index.yaml on github #638

Merged
merged 1 commit into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/helm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ env:
REGISTRY: "ghcr.io/${{ github.repository }}"

jobs:
helm:
package-and-release:
permissions:
contents: read
contents: write
packages: write
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
shell: bash
run: |
helm repo index .
- name: Update URLs in index.yaml
- name: Update URLs in index.yaml with yq
uses: mikefarah/[email protected]
with:
cmd: yq eval -i '. |= .entries[][] |= .urls[0] = "oci://" + env(REGISTRY) + "/" + .name + ":" + .version' index.yaml
Expand All @@ -64,4 +64,5 @@ jobs:
add: 'index.yaml'
committer_name: GitHub Actions
committer_email: [email protected]
author_email: [email protected]
message: "$GITHUB_ACTION is updating index.yaml for $GITHUB_REF"
2 changes: 1 addition & 1 deletion stable/aws-ebs-csi-driver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 1.16.1
name: aws-ebs-csi-driver
description: A Helm chart for AWS EBS CSI Driver
version: 2.17.2
version: 2.17.3
kubeVersion: ">=1.17.0-0"
home: https://github.com/kubernetes-sigs/aws-ebs-csi-driver
sources:
Expand Down
4 changes: 2 additions & 2 deletions stable/aws-ebs-csi-driver/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# aws-ebs-csi-driver

![Version: 2.17.2](https://img.shields.io/badge/Version-2.17.2-informational?style=flat-square) ![AppVersion: 1.16.1](https://img.shields.io/badge/AppVersion-1.16.1-informational?style=flat-square)
![Version: 2.17.3](https://img.shields.io/badge/Version-2.17.3-informational?style=flat-square) ![AppVersion: 1.16.1](https://img.shields.io/badge/AppVersion-1.16.1-informational?style=flat-square)

A Helm chart for AWS EBS CSI Driver

Expand All @@ -17,7 +17,7 @@ helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/aws-ebs-csi-
To install a specific version of this chart:

```console
helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/aws-ebs-csi-driver --version 2.17.2
helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/aws-ebs-csi-driver --version 2.17.3
```

To install the chart with the release name `my-release`:
Expand Down
Loading