Update '.drone.yml'
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
gav
2022-05-08 13:11:32 +07:00
parent 26ac8ddc90
commit f9217fd736

View File

@ -1,24 +1,25 @@
--- ---
kind: pipeline kind: pipeline
type: docker type: ssh
name: default-pipeline name: default-ssh-pipeline
clone:
disable: true
steps: server:
- name: test_docker_exec
image: appleboy/drone-ssh
host: host:
from_secret: docker_host from_secret: docker_host
username: user:
from_secret: docker_user from_secret: docker_user
key: ssh_key:
from_secret: docker_privkey from_secret: docker_privkey
port: 2200 port: 2200
script:
steps:
- name: greeting
commands:
- echo hello world - echo hello world
- docker ps -a - docker ps -a
- docker run hello-world
when:
branch: [main]
--- ---
kind: pipeline kind: pipeline
type: docker type: docker