GIT_SSH_COMMAND to fix "no mutual signature" error
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
5e62773d3f
commit
7649c7a7b8
|
@ -9,6 +9,7 @@ steps:
|
|||
from_secret: abra_bot_deploy_key
|
||||
DOCKER_PASS:
|
||||
from_secret: docker_reg_passwd_3wc
|
||||
GIT_SSH_COMMAND: "ssh -o 'PubkeyAcceptedKeyTypes +ssh-rsa'"
|
||||
commands:
|
||||
- apk add --no-cache git openssh docker
|
||||
- mkdir $HOME/.ssh/
|
||||
|
@ -17,12 +18,12 @@ steps:
|
|||
- ssh-keyscan -p 2222 -t rsa git.coopcloud.tech >> $HOME/.ssh/known_hosts
|
||||
- chmod -R go-rwx $HOME/.ssh
|
||||
- mkdir $HOME/.abra/
|
||||
- GIT_SSH_COMMAND="ssh -o 'PubkeyAcceptedKeyTypes +ssh-rsa'" git clone ssh://git@git.coopcloud.tech:2222/coop-cloud/recipes-catalogue-json.git $HOME/.abra/catalogue
|
||||
- git clone ssh://git@git.coopcloud.tech:2222/coop-cloud/recipes-catalogue-json.git $HOME/.abra/catalogue
|
||||
- "docker login -u 3wordchant -p \"$DOCKER_PASS\" index.docker.io"
|
||||
# - abra catalogue generate
|
||||
- echo >> $HOME/.abra/catalogue/recipes.json
|
||||
- "cd $HOME/.abra/catalogue/ && git remote -v"
|
||||
- "cd $HOME/.abra/catalogue/ && git checkout -b testing && git commit -a -m 'Chore: update catalogue' && GIT_SSH_COMMAND='ssh -vvv' git push --set-upstream origin testing"
|
||||
- "cd $HOME/.abra/catalogue/ && git checkout -b testing && git commit -a -m 'Chore: update catalogue' && git push --set-upstream origin testing"
|
||||
|
||||
- name: notify on failure
|
||||
image: plugins/matrix
|
||||
|
|
Loading…
Reference in New Issue