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