This repository has been archived on 2023-02-03. You can view files and clone it, but cannot push or open issues or pull requests.
autonomic.zone/.drone.yml
Luke Murphy da3a3a989c
All checks were successful
continuous-integration/drone/push Build is passing
Use triggers syntax
2020-04-08 18:40:20 +02:00

27 lines
585 B
YAML

---
kind: pipeline
name: default
steps:
- name: Build autonomic.zone docker image
image: docker:stable
volumes:
- name: docker_sock
path: /var/run/docker.sock
commands:
- docker build --no-cache -t autonomic/autonomic.zone:drone .
trigger:
branch:
- master
- name: Deploy Autonomic.zone with Dokku
image: appleboy/drone-git-push:0.2.0-linux-amd64
settings:
remote: ssh://dokku@dokku.autonomic.zone:222/autonomic.zone
ssh_key:
from_secret: drone_deploy_key
trigger:
branch:
- master