writing to hub db failing since 1.0.10
deepankarm opened this issue · comments
Deepankar Mahapatro commented
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.
Nan Wang commented
Good catch!
Deepankar Mahapatro commented
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