Deploy binary on s3
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
nemunaire 2021-08-12 03:49:24 +02:00
parent 391f387bbe
commit e9cab0e5c5

View File

@ -15,6 +15,19 @@ steps:
- go get -d -v - go get -d -v
- go build -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 - name: publish
image: plugins/docker image: plugins/docker
settings: settings:
@ -44,6 +57,19 @@ steps:
- go vet -v - go vet -v
- go build -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 - name: publish
image: plugins/docker image: plugins/docker
settings: settings: