This repository has been archived by the owner on Oct 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.drone.yml
66 lines (64 loc) · 1.52 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
---
kind: pipeline
type: docker
name: default
steps:
- name: lint
image: golangci/golangci-lint:v1.36.0
commands:
- go mod download
- golangci-lint run -v --timeout 10m
environment:
GOPROXY: http://goproxy
- name: build
image: golang:1.16.2-alpine3.13
commands:
- apk add --no-cache ca-certificates build-base
- wget https://github.com/CosmWasm/wasmvm/releases/download/v0.13.0/libwasmvm_muslc.a -O /lib/libwasmvm_muslc.a
- make install-pkger
- make build-alpine
environment:
GOPROXY: http://goproxy
- name: publish-docker
image: plugins/docker:18
settings:
dockerfile: Dockerfile
repo: publicawesome/stargazer
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- develop
- latest
when:
branch:
- develop
event:
- push
- name: docker_release
image: plugins/docker:18
settings:
dockerfile: Dockerfile
repo: publicawesome/stargazer
username:
from_secret: docker_username
password:
from_secret: docker_password
auto_tag: true
when:
event:
- tag
- name: discord
image: appleboy/drone-discord
settings:
webhook_id:
from_secret: discord_webhook_id
webhook_token:
from_secret: discord_webhook_token
when:
status: [success, failure]
---
kind: signature
hmac: 4d37d2988b058fe4b396138277c10e11c2534289f3a934cf3a04c753b294d496
...