jina-ai / jina-hub

An open-registry for hosting Jina executors via container images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

writing to hub db failing since 1.0.10

deepankarm opened this issue · comments

None of the builds (during CD or CI for updater action) are updated in the database since 1.0.10.

Hints so far:

  • Error status codes were getting ignored in hubapi/remote.py. Hence no errors during build (fixed in jina-ai/jina#2225)
  • Seems related to the way we login while using hub-builder action, as the write to db passed successfully during local run.

Good catch!

The issue was with github token.

${{ github.token }} is not a valid user according to github api. Every user of hub-builder-action should create a PAT & use that with variable jina_hub_token

Got fixed for jina-hub repo. Need to be added in docs

image