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 Helm chart as OCI artifact to ghcr.io #1683

Merged

Conversation

andrewrothstein
Copy link
Collaborator

@andrewrothstein andrewrothstein commented Mar 22, 2024

in lieu of publishing a tgz as a GitHub release artifact, this change publishes (on tag helm/${semver}) the Helm chart bundled as an OCI artifact to the GitHub container registry, i.e. ghcr.io. I also updated the installation instructions which are now less gory. This change requires granting public read access to the corresponding buildfarm "package" within the bazel-buildfarm project. It defaults to private.

@werkt
Copy link
Collaborator

werkt commented Mar 23, 2024

Does this require up front work regarding granting permissions? I have no familiarity with configuring anything related to ghcr, packages, and I don't see anything in settings that leads to such.

@andrewrothstein
Copy link
Collaborator Author

andrewrothstein commented Mar 24, 2024

When I tested this in my own gh account the "package" had default visibility of private after I published it and needed to be modified by the owner to be publicly downloadable in the GitHub UI

@andrewrothstein andrewrothstein force-pushed the feature/publish-helm-chart-as-oci branch from 637b458 to a50c42b Compare March 24, 2024 02:48
@werkt werkt force-pushed the feature/publish-helm-chart-as-oci branch from dffc7cb to b8fa761 Compare March 26, 2024 18:05
Copy link
Collaborator

@werkt werkt left a comment

Choose a reason for hiding this comment

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

Hopefully this workflow will result in some publications.

@werkt werkt merged commit e1ad3ad into bazelbuild:main Mar 26, 2024
2 checks passed
@werkt
Copy link
Collaborator

werkt commented Mar 27, 2024

I've requested org-level permissions to make packages public, hopefully this will be granted tomorrow.

@andrewrothstein andrewrothstein deleted the feature/publish-helm-chart-as-oci branch March 28, 2024 21:41
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.

None yet

3 participants