mirror of
https://github.com/xiaoqidun/gocos.git
synced 2024-11-21 22:16:45 +08:00
This commit is contained in:
parent
882519753b
commit
1d73a5a962
@ -8,7 +8,7 @@ steps:
|
||||
pull: if-not-exists
|
||||
image: ccr.ccs.tencentyun.com/xiaoqidun/goenv
|
||||
commands:
|
||||
- CGO_ENABLED=0 go build -o gocos -trimpath -ldflags "-s -w -buildid=" gocos.go
|
||||
- GOAMD64=v3 CGO_ENABLED=0 go build -o gocos -trimpath -ldflags "-s -w -buildid=" gocos.go
|
||||
- name: docker-cn
|
||||
pull: if-not-exists
|
||||
image: plugins/docker
|
||||
|
@ -1,5 +1,5 @@
|
||||
# 基础镜像
|
||||
FROM alpine:3.18.5
|
||||
FROM alpine:3.19.0
|
||||
|
||||
# 作者信息
|
||||
LABEL MAINTAINER="xiaoqidun@gmail.com"
|
||||
|
2
go.mod
2
go.mod
@ -1,6 +1,6 @@
|
||||
module github.com/xiaoqidun/gocos
|
||||
|
||||
go 1.21.5
|
||||
go 1.21.6
|
||||
|
||||
require github.com/tencentyun/cos-go-sdk-v5 v0.7.45
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user