File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ platform : linux/amd64
2+
3+ labels :
4+ type : exec
5+
6+ pipeline :
7+ - name : build-linux
8+ image : bash
9+ commands :
10+ - sed -i "s#canary#$CI_COMMIT_TAG#g" version/version.go
11+ - VERSION=$CI_COMMIT_TAG make build
12+ secrets :
13+ - dev_registry
14+ - drycc_registry
15+ - container_username
16+ - container_password
17+ when :
18+ event :
19+ - push
20+ - tag
21+
22+ - name : publish-linux
23+ image : bash
24+ commands :
25+ - docker run --rm
26+ -e DRONE_BUILD_EVENT=tag
27+ -e DRONE_REPO_OWNER="$CI_REPO_OWNER"
28+ -e DRONE_REPO_NAME="$CI_REPO_NAME"
29+ -e PLUGIN_API_KEY="$GITHUB_TOKEN"
30+ -e PLUGIN_BASE_URL="https://api.github.com/"
31+ -e PLUGIN_UPLOAD_URL="https://uploads.github.com/"
32+ -e DRONE_COMMIT_REF="refs/tags/$CI_COMMIT_TAG"
33+ -e PLUGIN_OVERWRITE="true"
34+ -e PLUGIN_FILES="_dist/*"
35+ -v $(pwd):$(pwd)
36+ -w $(pwd)
37+ docker.io/plugins/github-release
38+ secrets :
39+ - github_token
40+ when :
41+ event :
42+ - tag
43+
44+ depends_on :
45+ - test-linux
Original file line number Diff line number Diff line change 1+ matrix :
2+ platform :
3+ - linux/amd64
4+ - linux/arm64
5+
6+ platform : ${platform}
7+
8+ labels :
9+ type : exec
10+
11+ pipeline :
12+ - name : test-linux
13+ image : bash
14+ commands :
15+ - make test
16+ secrets :
17+ - dev_registry
18+ when :
19+ event :
20+ - push
21+ - tag
Original file line number Diff line number Diff line change 11# Drycc Client
22
3- [ ![ Build Status] ( https://drone .drycc.cc/api/badges/drycc/workflow-cli/status.svg )] ( https://drone .drycc.cc/drycc/workflow-cli )
3+ [ ![ Build Status] ( https://woodpecker .drycc.cc/api/badges/drycc/workflow-cli/status.svg )] ( https://woodpecker .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 )
@@ -70,5 +70,4 @@ see [LICENSE](https://github.com/drycc/workflow-cli/blob/main/LICENSE)
7070[ blog ] : https://blog.drycc.info/blog/
7171[ slack community ] : https://slack.drycc.com/
7272
73-
74- [ ![ FOSSA Status] ( https://app.fossa.com/api/projects/git%2Bgithub.com%2Fdrycc%2Fworkflow-cli.svg?type=large )] ( https://app.fossa.com/projects/git%2Bgithub.com%2Fdrycc%2Fworkflow-cli?ref=badge_large )
73+ [ ![ FOSSA Status] ( https://app.fossa.com/api/projects/git%2Bgithub.com%2Fdrycc%2Fworkflow-cli.svg?type=large )] ( https://app.fossa.com/projects/git%2Bgithub.com%2Fdrycc%2Fworkflow-cli?ref=badge_large )
You can’t perform that action at this time.
0 commit comments