update to new s3 location (#468)

Reviewed-on: https://gitea.com/gitea/tea/pulls/468
This commit is contained in:
techknowlogick 2022-03-11 05:01:29 +08:00
parent fb3e1f75e9
commit ced24ccabb

View File

@ -9,7 +9,7 @@ platform:
steps: steps:
- name: build - name: build
pull: always pull: always
image: golang:1.16 image: golang:1.17
environment: environment:
GOPROXY: https://goproxy.cn GOPROXY: https://goproxy.cn
commands: commands:
@ -27,7 +27,7 @@ steps:
- pull_request - pull_request
- name: unit-test - name: unit-test
image: golang:1.16 image: golang:1.17
commands: commands:
- make unit-test-coverage - make unit-test-coverage
settings: settings:
@ -40,7 +40,7 @@ steps:
- pull_request - pull_request
- name: release-test - name: release-test
image: golang:1.16 image: golang:1.17
commands: commands:
- make test - make test
settings: settings:
@ -54,7 +54,7 @@ steps:
- name: tag-test - name: tag-test
pull: always pull: always
image: golang:1.16 image: golang:1.17
commands: commands:
- make test - make test
settings: settings:
@ -64,7 +64,7 @@ steps:
- tag - tag
- name: static - name: static
image: golang:1.16 image: golang:1.17
environment: environment:
GOPROXY: https://goproxy.cn GOPROXY: https://goproxy.cn
commands: commands:
@ -120,8 +120,7 @@ steps:
settings: settings:
acl: public-read acl: public-read
bucket: gitea-artifacts bucket: gitea-artifacts
endpoint: https://storage.gitea.io endpoint: https://ams3.digitaloceanspaces.com
path_style: true
source: "dist/release/*" source: "dist/release/*"
strip_prefix: dist/release/ strip_prefix: dist/release/
target: "/tea/${DRONE_BRANCH##release/v}" target: "/tea/${DRONE_BRANCH##release/v}"
@ -142,8 +141,7 @@ steps:
settings: settings:
acl: public-read acl: public-read
bucket: gitea-artifacts bucket: gitea-artifacts
endpoint: https://storage.gitea.io endpoint: https://ams3.digitaloceanspaces.com
path_style: true
source: "dist/release/*" source: "dist/release/*"
strip_prefix: dist/release/ strip_prefix: dist/release/
target: /tea/master target: /tea/master