-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdrone.yml
More file actions
49 lines (44 loc) · 806 Bytes
/
drone.yml
File metadata and controls
49 lines (44 loc) · 806 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
48
49
kind: pipeline
type: docker
name: linux-amd64
platform:
arch: amd64
os: linux
steps:
- name: check
image: docker.io/drycc/go-dev
pull: always
privileged: true
commands:
- make check
when:
event:
- pull_request
- push
- name: release
image: docker.io/drycc/go-dev
pull: always
privileged: true
commands:
- make prepare-assets
- make latest-release
environment:
GIT_REPO: ${DRONE_REPO}
GIT_TAG: ${DRONE_TAG}
REPO_OWNER: ${DRONE_REPO_OWNER}
REPO_NAME: ${DRONE_REPO_NAME}
BOT_GITHUB_TOKEN:
from_secret: github_token
when:
event:
- push
volumes:
- name: image_registries
path: /etc/containers/registries.conf
trigger:
event:
- push
volumes:
- name: image_registries
host:
path: /etc/containers/registries.conf