modify ci config
This commit is contained in:
parent
4e16cdfb0e
commit
61c803374f
13
.drone.yml
13
.drone.yml
@ -12,6 +12,19 @@ steps:
|
|||||||
- go build -o /build/ddns-client -ldflags "-w -s" .
|
- go build -o /build/ddns-client -ldflags "-w -s" .
|
||||||
- cp config.default.yml /build/config.yml
|
- cp config.default.yml /build/config.yml
|
||||||
|
|
||||||
|
- name: pack release
|
||||||
|
image: alpine
|
||||||
|
volumes:
|
||||||
|
- name: deps
|
||||||
|
path: /build
|
||||||
|
commands:
|
||||||
|
- apk add --no-cache zip
|
||||||
|
- |
|
||||||
|
cd /build
|
||||||
|
zip -r release.zip ddns-client config.yml
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
|
||||||
- name: gitea release
|
- name: gitea release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
Reference in New Issue
Block a user