This commit is contained in:
parent
93ffadcf41
commit
e28a633cdc
@ -36,8 +36,8 @@ steps:
|
||||
- name: cache
|
||||
path: /go
|
||||
commands:
|
||||
- GOOS=linux GOARCH=amd64 go build -o linux_amd64
|
||||
- GOOS=linux GOARCH=arm64 GOARM=7 go build -o linux_arm64_v7
|
||||
- GOOS=linux GOARCH=amd64 go build -o linux_amd64
|
||||
- GOOS=linux GOARCH=arm64 go build -o linux_arm64_v8
|
||||
|
||||
- name: upload
|
||||
image: minio/mc
|
||||
@ -51,7 +51,7 @@ steps:
|
||||
commands:
|
||||
- mc alias set s3 http://10.20.0.25:3900 $${ACCESS_KEY} $${SECRET_KEY}
|
||||
- mc cp linux_amd64 s3/dissertation/binaries/debian/${DRONE_BRANCH}_linux_amd64
|
||||
- mc cp linux_arm64_v7 s3/dissertation/binaries/debian/${DRONE_BRANCH}_linux_arm64_v7
|
||||
- mc cp linux_arm64_v8 s3/dissertation/binaries/debian/${DRONE_BRANCH}_linux_arm64_v8
|
||||
|
||||
volumes:
|
||||
- name: cache
|
||||
|
Loading…
Reference in New Issue
Block a user