README.md 297 B

交叉编译

GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -tags=jsoniter -ldflags "-s" -v -o ./deploy/bin/hello-go ./temp.go docker build --no-cache --disable-content-trust=true -t ccr.ccs.tencentyun.com/yowootech/hello-go ./deploy docker push ccr.ccs.tencentyun.com/yowootech/hello-go