drone #15
10
.drone.yml
10
.drone.yml
@ -38,6 +38,7 @@ steps:
|
||||
commands:
|
||||
- GOOS=linux GOARCH=amd64 go build -o linux_amd64
|
||||
- GOOS=linux GOARCH=arm GOARM=7 go build -o linux_arm_v7
|
||||
- GOOS=freebsd GOARCH=amd64 go build -o freebsd_amd64
|
||||
- GOOS=freebsd GOARCH=arm64 go build -o freebsd_arm64_v8a
|
||||
|
||||
- name: upload
|
||||
@ -51,9 +52,10 @@ steps:
|
||||
from_secret: s3_secret_key
|
||||
commands:
|
||||
- mc alias set s3 https://s3.us-west-001.backblazeb2.com $${ACCESS_KEY} $${SECRET_KEY}
|
||||
- mc cp linux_amd64 s3/dissertation/binaries/debian/${DRONE_BRANCH}_linux_amd64
|
||||
- mc cp linux_arm_v7 s3/dissertation/binaries/debian/${DRONE_BRANCH}_linux_arm_v7
|
||||
- mc cp freebsd_arm64_v8a s3/dissertation/binaries/debian/${DRONE_BRANCH}_freebsd_arm64_v8a
|
||||
- mc cp linux_amd64 s3/dissertation/binaries/debian/${DRONE_BRANCH}_linux_amd64
|
||||
- mc cp linux_arm_v7 s3/dissertation/binaries/debian/${DRONE_BRANCH}_linux_arm_v7
|
||||
- mc cp freebsd_amd64 s3/dissertation/binaries/debian/${DRONE_BRANCH}_freebsd_amd64
|
||||
- mc cp freebsd_arm64_v8a s3/dissertation/binaries/debian/${DRONE_BRANCH}_freebsd_arm64_v8a
|
||||
|
||||
volumes:
|
||||
- name: cache
|
||||
@ -61,6 +63,6 @@ volumes:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: de07a3ab113028b48c590c406f7ab8f74aeae49679287862168d912ec10e9920
|
||||
hmac: 7960420c7d02f9bce56d6429b612676d24cbe1d1608cf44a77da9afc411eccb8
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user