Replies: 1 comment
-
Im trying to push to ghcr.io also but im not getting as yours. Did you create the PAT (Personal Access Token? I would suggest trying to push the image from your local machine using the PAT created. Create a PAT in github and then save it in a file called github_pat.txt as below
The steps below for me worked fine but im not able to deploy with kamal pushing to ghcr.io yet. The error im getting is:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I had some issues with SSH connection being stale on deploys so i applied this suggestion and split my deployment task into two. Instead of calling
kamal deploy
, i now dokamal build push
andkamal deploy
separately. However, as long as just usingkamal deploy
works fine and deploys my app, once i prepend it withkamal build push
call, deploy fails with a following error:So, first of all - isn't the
kamal deploy
task callingbuild
andpush
anyway? Is there anything special about calling these by hand that might break something with the tokens? And second of all, this error message is unclear to me, i have no idea what any sort of anonymous token has to do with my private repository kamal deployments and why an issue with it surfaces only when i split the calls.I'm on Kamal 1.9.1
Any help much appreciated 🙏
Beta Was this translation helpful? Give feedback.
All reactions