diff --git a/.gitea/workflows/CI_local_test.yaml b/.gitea/workflows/CI_local_test.yaml index d91ed01..788ed4e 100644 --- a/.gitea/workflows/CI_local_test.yaml +++ b/.gitea/workflows/CI_local_test.yaml @@ -14,13 +14,14 @@ jobs: with: submodules: recursive - name: 设置go环境 - uses: https://gitea.joylink.club/actions/local-setup-go@v0.1.1 + uses: https://gitea.joylink.club/actions/local-setup-go@v0.1.2 with: go-version: '1.22.1' - name: 构建go build run: | go env -w GO111MODULE=on go env -w GOPROXY=https://goproxy.cn,direct + go env -w CGO_ENABLED=0 go build -o rts-sim-testing-service - name: 设置 Docker uses: https://gitea.joylink.club/actions/local-setup-docker-cli-action@v0.1.1 diff --git a/Dockerfile_Gitea b/Dockerfile_Gitea index 56bdc71..978eb87 100644 --- a/Dockerfile_Gitea +++ b/Dockerfile_Gitea @@ -1,6 +1,5 @@ FROM alpine COPY ./rts-sim-testing-service /usr/local/bin/rts-sim-testing-service -RUN chmod +x /usr/local/bin/rts-sim-testing-service WORKDIR /bj-rtsts COPY ./config/*.yml ./ CMD [ "rts-sim-testing-service" ] \ No newline at end of file