-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.drone.yml
More file actions
38 lines (34 loc) · 692 Bytes
/
.drone.yml
File metadata and controls
38 lines (34 loc) · 692 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
---
kind: pipeline
name: default
type: docker
platform:
os: linux
arch: arm64
steps:
- name: fetch
image: alpine/git
commands:
- git fetch --tags
- name: lint
image: golangci/golangci-lint:v1.47.2
commands:
- golangci-lint run --no-config -v --timeout 10m ./...
when:
event:
exclude:
- tag
environment:
GOPROXY:
from_secret: goproxy_url
- name: release
image: ghcr.io/goreleaser/goreleaser:v1.8.3
commands:
- goreleaser release --skip-announce
environment:
GITHUB_TOKEN:
from_secret: github_token
GOPROXY:
from_secret: goproxy_url
when:
event: tag