This commit is contained in:
Jay 2019-06-12 16:06:05 +08:00
parent 12d64462b3
commit 9c24664fc5

View File

@ -7,15 +7,10 @@ steps:
volumes: volumes:
- name: deps - name: deps
path: /build path: /build
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" .
- cp config.default.yml /build/config.yml - cp config.default.yml /build/config.yml
- env
- echo $GITEA_RELEASE
- name: pack release - name: pack release
image: alpine image: alpine