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

Publish chart package to ghcr from the update-helm-repo workflow #3115

Closed
wants to merge 3 commits into from

Conversation

narqo
Copy link
Contributor

@narqo narqo commented May 3, 2024

Fixes #3068 grafana/mimir#7628

This one is similar to #2443 #2998 but updates the helper workflow, Mimir (and maybe others) use for their helm charts.

@narqo narqo requested a review from a team as a code owner May 3, 2024 13:25
@krajorama krajorama self-requested a review May 10, 2024 08:29
- name: Push charts to GHCR
run: |
shopt -s nullglob
for pkg in .cr-release-packages/*.tgz; do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's be in sync with the github release and upload ${{ env.CR_PACKAGE_PATH }}/${{ steps.parse-chart.outputs.packagename }}.tgz instead of the for loop. See "Make github release" step.

Later we'll have to deal with provenance as well and the workflow starts by verifying that only one chart needs release. I made it that way to make sure the workflow is simple.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I updated this chunk. Please, take another look

@narqo narqo force-pushed the update-helm-repo-push-oci branch from 983b717 to 82848ae Compare May 10, 2024 10:26
@narqo narqo requested a review from krajorama May 10, 2024 10:27
@narqo
Copy link
Contributor Author

narqo commented Oct 24, 2024

Close in favour of #3366

@narqo narqo closed this Oct 24, 2024
@narqo narqo deleted the update-helm-repo-push-oci branch October 24, 2024 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add OCI repository publish to ghcr.io for helm charts released from other repositories
3 participants