forked from dotFionn/iassure-wx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.drone.yml
More file actions
47 lines (42 loc) · 848 Bytes
/
Copy path.drone.yml
File metadata and controls
47 lines (42 loc) · 848 Bytes
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
kind: pipeline
type: docker
name: build dev
steps:
- name: build and push image
image: plugins/docker
settings:
dockerfile: Dockerfile
registry: git.fsisp.de
repo: git.fsisp.de/fionn/iassure-wx
username:
from_secret: reg_username
password:
from_secret: reg_password
tags:
- dev
- '${DRONE_COMMIT:0:8}'
trigger:
branch:
- dev
- develop
---
kind: pipeline
type: docker
name: build master
steps:
- name: build and push image
image: plugins/docker
settings:
dockerfile: Dockerfile
registry: git.fsisp.de
repo: git.fsisp.de/fionn/iassure-wx
username:
from_secret: reg_username
password:
from_secret: reg_password
tags:
- latest
- '${DRONE_COMMIT:0:8}'
trigger:
branch:
- main