You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is related to the discussion on #996 (comment)
Perhaps the relaxed safe.directory should be released as v1.9.2 as well. While upgrading, I had to use the following to make the deployment work on Linux.
docker build -t ghcr.io/basecamp/kamal:v1.9.1-fix - <<EOF
FROM ghcr.io/basecamp/kamal:v1.9.1
RUN git config --global --add safe.directory '*'
EOF
alias kamal='docker run -it --rm -v "${PWD}:/workdir" -v "${SSH_AUTH_SOCK}:/ssh-agent" -v /var/run/docker.sock:/var/run/docker.sock -e "SSH_AUTH_SOCK=/ssh-agent" ghcr.io/basecamp/kamal:v1.9.1-fix'
This was the error on v1.9.1
ERROR (SSHKit::Command::Failed): git exit status: 32768
git stdout: Nothing written
git stderr: Cloning into 'workdir'...
fatal: detected dubious ownership in repository at '/workdir/.git'
To add an exception for this directory, call:
git config --global --add safe.directory /workdir/.git
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
The text was updated successfully, but these errors were encountered:
This issue is related to the discussion on #996 (comment)
Perhaps the relaxed safe.directory should be released as
v1.9.2
as well. While upgrading, I had to use the following to make the deployment work on Linux.alias kamal='docker run -it --rm -v "${PWD}:/workdir" -v "${SSH_AUTH_SOCK}:/ssh-agent" -v /var/run/docker.sock:/var/run/docker.sock -e "SSH_AUTH_SOCK=/ssh-agent" ghcr.io/basecamp/kamal:v1.9.1-fix'
This was the error on
v1.9.1
The text was updated successfully, but these errors were encountered: