-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
56 lines (53 loc) · 1.12 KB
/
.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
kind: pipeline
name: default
steps:
- name: push-private-registry
image: plugins/docker
settings:
repo: registry-castor.max-heidinger.de/harbor-master
registry: registry-castor.max-heidinger.de
tags:
- latest
- ci-${DRONE_BUILD_NUMBER}
username:
from_secret: tac_username
password:
from_secret: tac_password
when:
branch:
- master
event:
exclude:
- pull_request
- name: push-public-registry
image: plugins/docker
settings:
repo: ghcr.io/mheidinger/harbor-master
registry: ghcr.io
tags:
- latest
- ci-${DRONE_BUILD_NUMBER}
username:
from_secret: github_username
password:
from_secret: github_password
when:
branch:
- master
event:
exclude:
- pull_request
- name: update-deployment
image: plugins/webhook
settings:
urls: https://portainer-castor.max-heidinger.de/api/webhooks/b76f67df-2577-4f6e-b690-b6a73784abd9
username:
from_secret: tac_username
password:
from_secret: tac_password
when:
branch:
- master
event:
exclude:
- pull_request