ci: add ArtifactHub logo upload automation (DAK-4867)#3
Open
ferhimedamine wants to merge 2 commits into
Open
Conversation
Adds a new step that uploads the Dakera logo to ArtifactHub via their image API and patches artifacthub-repo.yml on gh-pages with the returned logoImageID. This is more reliable than logoURL because it stores the image on ArtifactHub's own CDN. Requires two new GitHub secrets: ARTIFACTHUB_API_KEY_ID — ArtifactHub API key ID ARTIFACTHUB_API_KEY_SECRET — ArtifactHub API key secret The step is conditional (skips gracefully if secrets are not set) and idempotent (skips if logoImageID is already present in the file). Resolves: DAK-4867
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
helm-release.ymlthat uploads the Dakera logo to ArtifactHub via their image API and patchesartifacthub-repo.ymlongh-pageswith the returnedlogoImageIDlogoImageIDis already present in the fileWhy
logoImageIDoverlogoURLThe current
artifacthub-repo.ymluseslogoURL: https://dakera.ai/logo.pngbut ArtifactHub is showing the generic cube icon. UsinglogoImageID(upload to ArtifactHub's own CDN) is more reliable and the recommended approach per their docs.Secrets required
Two GitHub Actions secrets must be added to
dakera-ai/dakera-helm:ARTIFACTHUB_API_KEY_IDARTIFACTHUB_API_KEY_SECRETOnce added, merge this PR and trigger the workflow (or push any
charts/**change) — the step will auto-upload and setlogoImageID.Test plan
ARTIFACTHUB_API_KEY_ID+ARTIFACTHUB_API_KEY_SECRETto repo secretsRelease Helm Chartworkflow viaworkflow_dispatchartifacthub-repo.ymlongh-pageshaslogoImageIDsetResolves: DAK-4867
🤖 Generated with Claude Code