|
|
@@ -3,11 +3,18 @@ type: docker |
|
|
|
name: build |
|
|
|
|
|
|
|
clone: |
|
|
|
git: |
|
|
|
image: plugins/git |
|
|
|
skip_verify: true |
|
|
|
disable: true |
|
|
|
|
|
|
|
steps: |
|
|
|
- name: clone |
|
|
|
image: drone/git |
|
|
|
environment: |
|
|
|
KEY: |
|
|
|
from_secret: DEPLOY_KEY |
|
|
|
commands: |
|
|
|
- echo "$KEY" > $HOME/.ssh/id_rsa |
|
|
|
- git clone ssh://git@gitea.torrion-vault.xyz:2222/Torrion/arbitry.git |
|
|
|
- git checkout $DRONE_COMMIT |
|
|
|
- name: build_php_base |
|
|
|
image: plugins/docker |
|
|
|
settings: |
|
|
|