Replies: 6 comments 14 replies
-
Beta Was this translation helpful? Give feedback.
-
Has anyone solved this? |
Beta Was this translation helpful? Give feedback.
-
On my end I didn’t need to add the server as I also have the same
understanding that it would be the default.
…On Sat, Oct 19, 2024 at 14:41 Kashif ***@***.***> wrote:
adding server: registry.hub.docker.com in deploy.yml worked
I though it would default to that.
—
Reply to this email directly, view it on GitHub
<#896 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAE7TRSJV5CWASUONDAZGKDZ4HWHXAVCNFSM6AAAAABLSGM22GVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAOJYHEZTSOI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi everyone, I’m encountering an issue with kamal and my GitHub Actions workflow during deployment. On my local environment, both kamal deploy and kamal redeploy work without any issues. However, when I use kamal redeploy in the GitHub Actions workflow, the deployment fails. Strangely, if I switch it to kamal deploy in the workflow, it works perfectly. I'm using a Read, Write, Delete docker acess token. error is : Has anyone else faced this problem or have any insights on why kamal redeploy might be failing in the GitHub Actions environment but works fine locally?
|
Beta Was this translation helpful? Give feedback.
-
I had this issue and solved it by doing |
Beta Was this translation helpful? Give feedback.
-
In my case, it simply started working again with no explanation. I am unsure at this point what the cause might have been but I can close it and someone else can re-open if they have a similar issue. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, I have been managing to deploy an app with Kamal with these Docker credentials for a few days with no issues but now I am getting the following error and I'm unsure as to why that might be happening.
The image is available in the registry and just to see if the token was bad I created a new one, added it to
.env
and rankamal env push
before trying again but I still got the same error just like below, has anyone experienced this one?------ > exporting to image: ------ ERROR: failed to solve: failed to push dockerusername/service-name:4z484256423y7c90x2409efb385aa447df33b2fa: push access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
Note
I run Kamal using the following alias (not the gem install):
alias kamal='docker run -it --rm -v "${PWD}:/workdir" -v "${HOME}/.ssh:/root/.ssh" -v "/run/host-services/ssh-auth.sock:/run/host-services/ssh-auth.sock" -e SSH_AUTH_SOCK="/run/host-services/ssh-auth.sock" -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/basecamp/kamal:latest'
Beta Was this translation helpful? Give feedback.
All reactions