forked from overshard/docker-teamspeak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
64 lines (62 loc) · 1.28 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
57
58
59
60
61
62
63
64
---
kind: pipeline
name: ts3build
platform:
os: linux
arch: amd64
steps:
- name: hadolint
#image: hadolint/hadolint:latest-debian
image: "ghcr.io/hadolint/hadolint:latest-debian"
commands:
- hadolint --version
- hadolint Dockerfile
- hadolint Dockerfile.alpine
- name: build master
image: plugins/docker
settings:
repo: sunna.nbg:5050/teamspeak
registry: sunna.nbg:5050
autotag: yes
insecure: yes
when:
event:
- tag
- push
- name: build tag
image: plugins/docker
settings:
repo: sunna.nbg:5050/teamspeak
registry: sunna.nbg:5050
autotag: yes
insecure: yes
when:
event:
- tag
- name: build alpine
image: plugins/docker
settings:
repo: sunna.nbg:5050/teamspeak
registry: sunna.nbg:5050
autotag: no
insecure: yes
dockerfile: Dockerfile.alpine
tags:
- alpine
when:
event:
- push
- name: build alpine release
image: plugins/docker
settings:
repo: sunna.nbg:5050/teamspeak
registry: sunna.nbg:5050
autotag: no
insecure: yes
dockerfile: Dockerfile.alpine
default_suffix: alpine
tags:
- ${DRONE_TAG}
when:
event:
- tag