forked from marcosfad/mbp-ubuntu-kernel
-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
.drone.yml
44 lines (39 loc) · 787 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
---
kind: pipeline
name: mbp-ubuntu-kernel
trigger:
event:
exclude:
- pull_request
steps:
- name: lint
image: alpine
pull: always
commands:
- apk add --no-cache shellcheck python3 py-pip bash
- pip install yamllint
- yamllint .
- shellcheck ./*.sh
- name: build
image: ubuntu:20.04
pull: always
volumes:
- name: build-artifacts
path: /tmp/artifacts
commands:
- ./build.sh
- name: publish-github
image: plugins/github-release
volumes:
- name: build-artifacts
path: /tmp/artifacts
settings:
api_key:
from_secret: github_token
files: /tmp/artifacts/*
prerelease: true
when:
event: tag
volumes:
- name: build-artifacts
temp: {}