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

feat(oci): add publishing of helm chart to oci repo #189

Merged
merged 1 commit into from
Jan 26, 2025

Conversation

a1994sc
Copy link
Contributor

@a1994sc a1994sc commented Jan 14, 2025

Why is this pull request needed and what does it do?

  • Adds publishing of coredns chart to ghcr.io registry
  • Adds cosign keyless signing to actions

Which issues (if any) are related?

Checklist:

  • I have bumped the chart version according to versioning.
  • I have updated the chart changelog with all the changes that come with this pull request according to changelog.
  • Any new values are backwards compatible and/or have sensible default.
  • I have signed off all my commits as required by DCO.

Changes are automatically published when merged to main. They are not published on branches.

Note on DCO

If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.

@onedr0p
Copy link
Contributor

onedr0p commented Jan 19, 2025

Good work here, hopefully we can see it merged 🙏🏼

@onedr0p
Copy link
Contributor

onedr0p commented Jan 26, 2025

@mrueg what do you think of this?

@mrueg
Copy link
Collaborator

mrueg commented Jan 26, 2025

This branch cannot be rebased due to conflicts Can you rebase on latest master instead of merging the changes in?

Do we need to enable anything else within the coredns org to support this?

@onedr0p
Copy link
Contributor

onedr0p commented Jan 26, 2025

After the PR is merged and the OCI artifact is published you might need to make it public by visiting https://github.com/orgs/coredns/packages

@mrueg
Copy link
Collaborator

mrueg commented Jan 26, 2025

After the PR is merged and the OCI artifact is published you might need to make it public by visiting https://github.com/orgs/coredns/packages

CC: @chrisohaver is that something you could help out with once it's merged? I don't think I have access to that.

@a1994sc
Copy link
Contributor Author

a1994sc commented Jan 26, 2025

This branch cannot be rebased due to conflicts Can you rebase on latest master instead of merging the changes in?

Sure, I can have that updated in a the next little bit

Do we need to enable anything else within the coredns org to support this?

And you shouldn't need to enable anything else.

- fixes coredns#182
- adds cosign keyless signing to actions

Signed-off-by: Allen Conlon <[email protected]>
@a1994sc
Copy link
Contributor Author

a1994sc commented Jan 26, 2025

@mrueg updated the PR with the changes that you suggested.

I also removed the Set up Helm action as helm is now baked into the ubuntu-latest runner:

https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md

@mrueg
Copy link
Collaborator

mrueg commented Jan 26, 2025

Thanks for your contribution! Please let me know if anything needs to change to make it work.

@mrueg mrueg merged commit 8e7deca into coredns:master Jan 26, 2025
2 checks passed
@onedr0p
Copy link
Contributor

onedr0p commented Jan 26, 2025

It does look like the release failed

https://github.com/coredns/helm/actions/runs/12977130359/job/36190205317

@a1994sc
Copy link
Contributor Author

a1994sc commented Jan 26, 2025

I will take a look....

@onedr0p
Copy link
Contributor

onedr0p commented Jan 26, 2025

@a1994sc I believe your missing the packages permission, I should have caught this sorry.

    permissions:
      contents: write # for creating the GitHub release.
      id-token: write # for creating OIDC tokens for signing.
      packages: write # for pushing and signing container images.

@a1994sc
Copy link
Contributor Author

a1994sc commented Jan 26, 2025

@onedr0p and @mrueg I just opened a PR to fix the missing permissions

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.

Upload Helm chart to OCI registry
3 participants