forked from uw-ipd/RoseTTAFold2NA
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.drone.yml
49 lines (43 loc) · 974 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
43
44
45
46
47
48
49
---
name: default
kind: pipeline
type: kubernetes
node_selector:
CPUs: 8
steps:
- name: get version -- branch
image: ubuntu:latest
commands:
- echo $(cat VERSION)-$(echo $DRONE_COMMIT_BRANCH | sed 's/[/_-]//g')-$DRONE_BUILD_NUMBER > .tags
- echo $(cat .tags)
when:
event:
- push
- name: get version -- tag
image: ubuntu:latest
commands:
- echo $(cat VERSION) > .tags
- echo $(cat .tags)
when:
event:
- tag
- name: release server image -- branch
image: plugins/gcr
settings:
repo: cyrus-containers/rf2na
debug: true
dockerfile: Dockerfile
json_key:
from_secret: dockerconfigjson
when:
event: push
- name: release server image -- tag
image: plugins/gcr
settings:
repo: cyrus-containers/rf2na
debug: true
dockerfile: Dockerfile
json_key:
from_secret: dockerconfigjson
when:
event: tag