File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ kind : pipeline
2+ type : docker
3+ name : default
4+
5+ steps :
6+ - name : test
7+ image : docker.io/library/docker:dind
8+ pull : if-not-exists
9+ privileged : true
10+ commands :
11+ - nohup dockerd &
12+ - apk add make bash curl git
13+ - make test
14+ when :
15+ event :
16+ - push
17+ - tag
18+ - pull_request
19+
20+ - name : build
21+ image : docker.io/library/docker:dind
22+ pull : if-not-exists
23+ privileged : true
24+ commands :
25+ - nohup dockerd &
26+ - apk add make bash curl git
27+ - make build-tag
28+ - mv _dist/$DRONE_TAG dist
29+ when :
30+ event :
31+ - tag
32+
33+ - name : release
34+ image : plugins/github-release
35+ settings :
36+ api_key :
37+ from_secret : github_token
38+ files : dist/*
39+ when :
40+ event : tag
41+
42+ trigger :
43+ event :
44+ - push
45+ - tag
46+ - pull_request
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# Drycc Client
22
3- [ ![ Build Status] ( https://travis-ci.org/ drycc/workflow-cli.svg?branch=main )] ( https://travis-ci.org /drycc/workflow-cli )
3+ [ ![ Build Status] ( https://drone.drycc.cc/api/badges/ drycc/workflow-cli/status .svg )] ( https://drone.drycc.cc /drycc/workflow-cli )
44[ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/drycc/workflow-cli )] ( https://goreportcard.com/report/github.com/drycc/workflow-cli )
55[ ![ codebeat badge] ( https://codebeat.co/badges/b609cb7f-7b42-4214-8787-09298f553176 )] ( https://codebeat.co/projects/github-com-drycc-workflow-cli-main )
66[ ![ codecov] ( https://codecov.io/gh/drycc/workflow-cli/branch/main/graph/badge.svg )] ( https://codecov.io/gh/drycc/workflow-cli )
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ go-build(){
1111
1212GOOS_LIST=(" linux" " windows" " darwin" )
1313GOARCH_LIST=(" 386" " amd64" " arm" " arm64" )
14- EXCLUDE_TARGET=(" darwin/arm" " darwin/arm64" " windows/arm64" )
14+ EXCLUDE_TARGET=(" darwin/386 " , " darwin/ arm" " darwin/arm64" " windows/arm64" )
1515
1616for GOOS in ${GOOS_LIST[@]} ; do
1717 for GOARCH in ${GOARCH_LIST[@]} ; do
You can’t perform that action at this time.
0 commit comments