This commit is contained in:
parent
391f387bbe
commit
e9cab0e5c5
26
.drone.yml
26
.drone.yml
@ -15,6 +15,19 @@ steps:
|
||||
- go get -d -v
|
||||
- go build -v
|
||||
|
||||
- name: deploy binary
|
||||
image: plugins/s3
|
||||
settings:
|
||||
endpoint: https://s3.nemunai.re
|
||||
path_style: true
|
||||
bucket: linky2influx
|
||||
access_key:
|
||||
from_secret: s3_access_key
|
||||
secret_key:
|
||||
from_secret: s3_secret_key
|
||||
source: linky2influx
|
||||
target: /${DRONE_BRANCH//\//-}/${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
||||
|
||||
- name: publish
|
||||
image: plugins/docker
|
||||
settings:
|
||||
@ -44,6 +57,19 @@ steps:
|
||||
- go vet -v
|
||||
- go build -v
|
||||
|
||||
- name: deploy binary
|
||||
image: plugins/s3
|
||||
settings:
|
||||
endpoint: https://s3.nemunai.re
|
||||
path_style: true
|
||||
bucket: linky2influx
|
||||
access_key:
|
||||
from_secret: s3_access_key
|
||||
secret_key:
|
||||
from_secret: s3_secret_key
|
||||
source: linky2influx
|
||||
target: /${DRONE_BRANCH//\//-}/${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
||||
|
||||
- name: publish
|
||||
image: plugins/docker
|
||||
settings:
|
||||
|
Loading…
Reference in New Issue
Block a user