-
Notifications
You must be signed in to change notification settings - Fork 4
/
.drone.yml
83 lines (79 loc) · 1.94 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
kind: pipeline
name: default
steps:
- name: publish-ubuntu-sits
image: plugins/docker
settings:
username:
from_secret: DOCKERHUB_USER
password:
from_secret: DOCKERHUB_PASS
context: docker/ubuntu
dockerfile: docker/ubuntu/Dockerfile
repo: brazildatacube/sits-base
cache_from: "brazildatacube/sits-base:latest"
tags:
- ubuntu-20.04
- latest
when:
event:
- tag
- name: publish-R-sits
image: plugins/docker
settings:
username:
from_secret: DOCKERHUB_USER
password:
from_secret: DOCKERHUB_PASS
context: docker/R
dockerfile: docker/R/Dockerfile
repo: brazildatacube/sits-r
cache_from: "brazildatacube/sits-r:latest"
tags:
- "4"
- latest
build_args:
- SITS_ENVIRONMENT_TYPE=full
- SITS_TAG_VERSION=v${DRONE_SEMVER}
- BASE_IMAGE=brazildatacube/sits-base:ubuntu-20.04
when:
event:
- tag
- name: publish-sits
image: plugins/docker
settings:
username:
from_secret: DOCKERHUB_USER
password:
from_secret: DOCKERHUB_PASS
context: docker/sits
dockerfile: docker/sits/Dockerfile
repo: brazildatacube/sits
cache_from: "brazildatacube/sits:latest"
tags:
- latest
- ${DRONE_SEMVER}
build_args:
- BASE_IMAGE=brazildatacube/sits-r:4
when:
event:
- tag
- name: publish-rstudio-sits
image: plugins/docker
settings:
username:
from_secret: DOCKERHUB_USER
password:
from_secret: DOCKERHUB_PASS
context: docker/RStudio
dockerfile: docker/RStudio/Dockerfile
repo: brazildatacube/sits-rstudio
cache_from: "brazildatacube/sits-rstudio:latest"
tags:
- "1.4.1103"
- latest
build_args:
- BASE_IMAGE=brazildatacube/sits:${DRONE_SEMVER}
when:
event:
- tag