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

missing reference. Check you have write permissions to the organization and repository you are pushing to. #692

Closed
Techtacles opened this issue Jan 14, 2025 · 6 comments · Fixed by jozu-ai/daggerverse#10
Labels
bug Something isn't working

Comments

@Techtacles
Copy link

Techtacles commented Jan 14, 2025

Using the new dagger release v0.1.0, anytime I try pushing a modelkit to Jozu hub, I get the error
"missing reference. Check you have write permissions to the organization and repository you are pushing to.".
This was working in the previous version of dagger module. I have a Github Action pipeline that was working previously but now, it's broken. The link to the GitHub Action created previously is https://github.com/Techtacles/kitops-dagger/blob/master/.github/workflows/master.yml

Can you advise the issue?

I have attached a screenshot to this.
Screen Shot 2025-01-14 at 6 36 47 PM

@Techtacles Techtacles added the bug Something isn't working label Jan 14, 2025
@gorkem
Copy link
Contributor

gorkem commented Jan 14, 2025

I think there is an issue with the reference. A reference must have tags (or SHA) in this case it is just repo. Can you add tags to the action. When it is packed it should have tags something like jozu.ml/emmanueloffisongetim/llm_repo:latest and when pushing it should push the jozu.ml/emmanueloffisongetim/llm_repo:latest

@Techtacles
Copy link
Author

I did this. I added the latest tag. It threw the same error.
I added a screenshot regarding this.
Screen Shot 2025-01-14 at 10 39 27 PM

@amisevsk
Copy link
Contributor

@gorkem It looks like it may be the issue you were mentioning today -- is the packed ModelKit lost in the chained invocation?

@Techtacles
Copy link
Author

The Modelkit packing works, according to the logs. The issue arises when its time for pushing the modelkit to the registry. Then it throws the write permissions error.

@gorkem
Copy link
Contributor

gorkem commented Jan 15, 2025

yes, I have checked the logs but without a tag the push command can not find the local reference to the ModelKit you have just packed. Now that you have added the tags we suspect that the dagger module is not configuring the CONFIG_HOME correctly and loosing the local repo between pack and push commands.

We have also checked the permissions; this is not a permission error and #694 is cleaning up the misleading message.

@Techtacles
Copy link
Author

I thought about that too but it was working previously with previous dagger modules. Can you check here for more detailed information about the logs?
https://github.com/Techtacles/kitops-dagger/actions/runs/12795134334/job/35671812023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants