Merge pull request 'dronefile binaries' (#1) from drone into W8t10-Transport
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #1
This commit is contained in:
commit
f69d1dd755
24
.drone.yml
24
.drone.yml
@ -21,6 +21,30 @@ steps:
|
||||
commands:
|
||||
- go test ./...
|
||||
|
||||
- name: build (debian)
|
||||
image: golang:1.15-buster
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /go
|
||||
commands:
|
||||
- go build
|
||||
|
||||
- name: upload
|
||||
image: minio/mc
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
environment:
|
||||
ACCESS_KEY: 001f185da4dcda3000000000d
|
||||
SECRET_KEY:
|
||||
from_secret: s3_secret_key
|
||||
commands:
|
||||
- mc alias set s3 http://10.20.0.25:3900 $${ACCESS_KEY} $${SECRET_KEY}
|
||||
- mc cp mpbl3p s3/dissertation/binaries/debian/${DRONE_BRANCH}
|
||||
|
||||
volumes:
|
||||
- name: cache
|
||||
temp: {}
|
||||
|
Loading…
Reference in New Issue
Block a user