forked from ezolla/linear-app-discord
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.drone.yml
42 lines (40 loc) · 927 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
34
35
36
37
38
39
40
41
42
kind: pipeline
type: docker
name: build
concurrency:
limit: 1
steps:
- name: docker-build
image: plugins/docker
settings:
dockerfile: ./Dockerfile
repo: dock.rythm.online/util/linear-webhook
registry: dock.rythm.online
tags:
- ${DRONE_COMMIT_SHA}
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event:
- push
- name: deploy
image: quay.io/rythm-bot/drone-kubernetes
settings:
kubernetes_server:
from_secret: kube_host
kubernetes_cert:
from_secret: kube_ca_cert
kubernetes_token:
from_secret: kube_service_token
namespace: util
deployment: linear-webhook
container: linear-webhook
repo: dock.rythm.online/util/linear-webhook
tag: ${DRONE_COMMIT_SHA}
when:
branch:
- master
event:
- push