From ced24ccabb08045b160fc7e23d4b387eafa13545 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Fri, 11 Mar 2022 05:01:29 +0800 Subject: [PATCH] update to new s3 location (#468) Reviewed-on: https://gitea.com/gitea/tea/pulls/468 --- .drone.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index c3c015a..d7c79f2 100644 --- a/.drone.yml +++ b/.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