Skip to content

ci: add ArtifactHub logo upload automation (DAK-4867)#3

Open
ferhimedamine wants to merge 2 commits into
mainfrom
fix/artifacthub-logo-upload
Open

ci: add ArtifactHub logo upload automation (DAK-4867)#3
ferhimedamine wants to merge 2 commits into
mainfrom
fix/artifacthub-logo-upload

Conversation

@ferhimedamine
Copy link
Copy Markdown
Contributor

Summary

  • Adds a new workflow step to helm-release.yml that uploads the Dakera logo to ArtifactHub via their image API and patches artifacthub-repo.yml on gh-pages with the returned logoImageID
  • The step is conditional — skips gracefully if secrets are not configured
  • The step is idempotent — skips if logoImageID is already present in the file

Why logoImageID over logoURL

The current artifacthub-repo.yml uses logoURL: https://dakera.ai/logo.png but ArtifactHub is showing the generic cube icon. Using logoImageID (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:

Secret name Where to get it
ARTIFACTHUB_API_KEY_ID ArtifactHub → User Settings → API keys → create new key
ARTIFACTHUB_API_KEY_SECRET Same key creation flow

Once added, merge this PR and trigger the workflow (or push any charts/** change) — the step will auto-upload and set logoImageID.

Test plan

  • Add ARTIFACTHUB_API_KEY_ID + ARTIFACTHUB_API_KEY_SECRET to repo secrets
  • Merge this PR
  • Trigger Release Helm Chart workflow via workflow_dispatch
  • Verify artifacthub-repo.yml on gh-pages has logoImageID set
  • Wait 15–60 min → confirm logo on https://artifacthub.io/packages/helm/dakera-helm/dakera

Resolves: DAK-4867

🤖 Generated with Claude Code

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
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.

1 participant