feat(更新依赖): 更新依赖
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
xiaoqidun 2023-07-07 15:04:25 +08:00
parent 70dd9ba8e4
commit ee1a2b25b3
3 changed files with 13 additions and 10 deletions

@ -2,19 +2,22 @@ kind: pipeline
type: docker type: docker
name: default name: default
node:
region: cn
steps: steps:
- name: generate - name: generate
pull: if-not-exists pull: if-not-exists
image: hkccr.ccs.tencentyun.com/xiaoqidun/build image: ccr.ccs.tencentyun.com/xiaoqidun/build
commands: commands:
- build -f build.sh -i ihash.go -o release/ihash - build -f build.sh -i ihash.go -o release/ihash
- name: build - name: build
pull: if-not-exists pull: if-not-exists
image: hkccr.ccs.tencentyun.com/xiaoqidun/goenv image: ccr.ccs.tencentyun.com/xiaoqidun/goenv
commands: commands:
- ./build.sh - ./build.sh
- name: upload - name: upload
image: hkccr.ccs.tencentyun.com/xiaoqidun/gocos image: ccr.ccs.tencentyun.com/xiaoqidun/gocos
settings: settings:
secret_id: secret_id:
from_secret: cos_secret_id from_secret: cos_secret_id

6
go.mod

@ -1,7 +1,7 @@
module github.com/xiaoqidun/ihash module github.com/xiaoqidun/ihash
go 1.18 go 1.20
require golang.org/x/crypto v0.0.0-20220307211146-efcb8507fb70 require golang.org/x/crypto v0.11.0
require golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 // indirect require golang.org/x/sys v0.10.0 // indirect

8
go.sum

@ -1,4 +1,4 @@
golang.org/x/crypto v0.0.0-20220307211146-efcb8507fb70 h1:syTAU9FwmvzEoIYMqcPHOcVm4H3U5u90WsvuYgwpETU= golang.org/x/crypto v0.11.0 h1:6Ewdq3tDic1mg5xRO4milcWCfMVQhI4NkqWWvqejpuA=
golang.org/x/crypto v0.0.0-20220307211146-efcb8507fb70/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio=
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 h1:SrN+KX8Art/Sf4HNj6Zcz06G7VEz+7w9tdXTPOZ7+l4= golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA=
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=