This commit is contained in:
Jay 2019-06-12 16:03:13 +08:00
parent 9ddd32642f
commit b6579cd4d6
1 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,9 @@ steps:
volumes: volumes:
- name: deps - name: deps
path: /build path: /build
secrets: [gitea_release_key] environment:
GITEA_RELEASE:
from_secret: gitea_release_key
commands: commands:
- go test ./... - go test ./...
- go build -o /build/ddns-client -ldflags "-w -s" . - go build -o /build/ddns-client -ldflags "-w -s" .