Skip to content

Commit

Permalink
Second try: host and update helm charts repo index.yaml on github (#638)
Browse files Browse the repository at this point in the history
second try

Co-authored-by: Max Williams <[email protected]>
  • Loading branch information
max-rocket-internet and max-rocket-internet authored Dec 11, 2024
1 parent 34bdf61 commit 826a44f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
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

0 comments on commit 826a44f

Please sign in to comment.