-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.yml
33 lines (33 loc) · 869 Bytes
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
kind: pipeline
type: docker
name: production
trigger:
branch:
- master
event:
- push
steps:
- name: build app
image: plugins/docker
settings:
tags: latest
registry: docker.dorfjungs.io
repo: docker.dorfjungs.io/davideperozzi/b1nman-rofp
context: ./
dockerfile: ./Dockerfile
force_tag: true
username: { from_secret: dorfjungs_docker_username }
password: { from_secret: dorfjungs_docker_password }
- name: deploy
image: dorfjungs/drone-docker-stack
settings:
name: b1nman-rofp
stack: [ .stack.yml ]
host: davideperozzi.com
user: root
key: { from_secret: davideperozzi_ssh_private_key }
environment:
APP_NAME: b1nman-rofp
APP_DOMAIN: b1nman.davideperozzi.com
APP_IMAGE: docker.dorfjungs.io/davideperozzi/b1nman-rofp
IMAGE_TAG: latest