|
@@ -16,8 +16,8 @@ steps: |
|
|
commands: |
|
|
commands: |
|
|
- eval $(ssh-agent) |
|
|
- eval $(ssh-agent) |
|
|
- mkdir $HOME/.ssh && echo "$KEY" > $HOME/.ssh/id_rsa && chmod 600 $HOME/.ssh/id_rsa && echo "$PUBLIC" > $HOME/.ssh/id_rsa.pub |
|
|
- mkdir $HOME/.ssh && echo "$KEY" > $HOME/.ssh/id_rsa && chmod 600 $HOME/.ssh/id_rsa && echo "$PUBLIC" > $HOME/.ssh/id_rsa.pub |
|
|
- ssh-add $HOME/.ssh/id_rsa |
|
|
|
|
|
- git clone ssh://gitea:2222/Torrion/arbitry.git |
|
|
|
|
|
|
|
|
- ssh-add $HOME/.ssh/id_rsa && ssh-keyscan -t rsa gitea.torrion-vault.xyz >> $HOME/.ssh/known_hosts |
|
|
|
|
|
- git clone ssh://git@gitea.torrion-vault.xyz:2222/Torrion/arbitry.git |
|
|
- git checkout $DRONE_COMMIT |
|
|
- git checkout $DRONE_COMMIT |
|
|
- name: build_php_base |
|
|
- name: build_php_base |
|
|
image: plugins/docker |
|
|
image: plugins/docker |
|
|