chore(build): 配置 Go 模块代理并移除工作流文件
- 在 Dockerfile 中设置默认 GOPROXY 为阿里云镜像 - 在 Makefile 中配置 GOPROXY 环境变量 - 移除 .gitea/workflows 目录下的所有 CI/CD 工作流文件 - 删除 release-nightly.yml 工作流配置 - 删除 release-tag.yml 工作流配置 - 删除 test.yml 工作流配置
This commit is contained in:
2
Makefile
2
Makefile
@@ -21,6 +21,8 @@ DOCKER_REF := $(DOCKER_IMAGE):$(DOCKER_TAG)
|
||||
DOCKER_ROOTLESS_REF := $(DOCKER_IMAGE):$(DOCKER_TAG)-dind-rootless
|
||||
|
||||
GOVULNCHECK_PACKAGE ?= golang.org/x/vuln/cmd/govulncheck@v1
|
||||
GOPROXY ?= https://mirrors.aliyun.com/goproxy/,direct
|
||||
export GOPROXY
|
||||
|
||||
ifneq ($(shell uname), Darwin)
|
||||
EXTLDFLAGS = -extldflags "-static" $(null)
|
||||
|
||||
Reference in New Issue
Block a user