update to new s3 location (#468)
Reviewed-on: https://gitea.com/gitea/tea/pulls/468
This commit is contained in:
parent
fb3e1f75e9
commit
ced24ccabb
16
.drone.yml
16
.drone.yml
|
@ -9,7 +9,7 @@ platform:
|
|||
steps:
|
||||
- name: build
|
||||
pull: always
|
||||
image: golang:1.16
|
||||
image: golang:1.17
|
||||
environment:
|
||||
GOPROXY: https://goproxy.cn
|
||||
commands:
|
||||
|
@ -27,7 +27,7 @@ steps:
|
|||
- pull_request
|
||||
|
||||
- name: unit-test
|
||||
image: golang:1.16
|
||||
image: golang:1.17
|
||||
commands:
|
||||
- make unit-test-coverage
|
||||
settings:
|
||||
|
@ -40,7 +40,7 @@ steps:
|
|||
- pull_request
|
||||
|
||||
- name: release-test
|
||||
image: golang:1.16
|
||||
image: golang:1.17
|
||||
commands:
|
||||
- make test
|
||||
settings:
|
||||
|
@ -54,7 +54,7 @@ steps:
|
|||
|
||||
- name: tag-test
|
||||
pull: always
|
||||
image: golang:1.16
|
||||
image: golang:1.17
|
||||
commands:
|
||||
- make test
|
||||
settings:
|
||||
|
@ -64,7 +64,7 @@ steps:
|
|||
- tag
|
||||
|
||||
- name: static
|
||||
image: golang:1.16
|
||||
image: golang:1.17
|
||||
environment:
|
||||
GOPROXY: https://goproxy.cn
|
||||
commands:
|
||||
|
@ -120,8 +120,7 @@ steps:
|
|||
settings:
|
||||
acl: public-read
|
||||
bucket: gitea-artifacts
|
||||
endpoint: https://storage.gitea.io
|
||||
path_style: true
|
||||
endpoint: https://ams3.digitaloceanspaces.com
|
||||
source: "dist/release/*"
|
||||
strip_prefix: dist/release/
|
||||
target: "/tea/${DRONE_BRANCH##release/v}"
|
||||
|
@ -142,8 +141,7 @@ steps:
|
|||
settings:
|
||||
acl: public-read
|
||||
bucket: gitea-artifacts
|
||||
endpoint: https://storage.gitea.io
|
||||
path_style: true
|
||||
endpoint: https://ams3.digitaloceanspaces.com
|
||||
source: "dist/release/*"
|
||||
strip_prefix: dist/release/
|
||||
target: /tea/master
|
||||
|
|
Loading…
Reference in New Issue