service-guardian/.drone.yml

27 lines
509 B
YAML

kind: pipeline
name: default
steps:
- name: update_images
image: appleboy/drone-ssh
settings:
host: 172.18.0.1
username: cibot
port: 22
key:
from_secret: cibot_id_rsa
command_timeout: 30m
script:
- cd /app/wiki/
- docker-compose pull
- docker-compose up -d
- cd /app/gitea/
- docker-compose pull
- docker-compose up -d
- cd /app/xwiki/
- docker-compose pull
volumes:
- name: cache
host:
path: /var/run/docker.sock