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

Update index.yaml from github actions after merge to master #643

Merged
merged 5 commits into from
Jan 6, 2025
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
21 changes: 13 additions & 8 deletions .github/workflows/helm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,21 @@ jobs:
- name: Generate Helm repo index.yaml
shell: bash
run: |
helm repo index .
helm repo index --merge .
- 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
- name: Commit index.yaml to master branch
uses: EndBug/[email protected]
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v7
with:
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"
commit-message: "$GITHUB_ACTION is updating index.yaml for $GITHUB_REF"
branch: update-index
delete-branch: true
title: "[stable/index] Updating index.yaml for $GITHUB_REF"
add-paths: |
index.yaml
labels: |
index
automated pr
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ __pycache__
.idea/
*.tmproj
.vscode/

*.tgz
Loading