fix: update build.yml
This commit is contained in:
@@ -28,8 +28,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Build Go application
|
- name: Build Go application
|
||||||
run: |
|
run: |
|
||||||
|
cd backend
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
go env -w GOPROXY=https://go.hub.ipao.vip,direct
|
go env -w GOPROXY=https://go.hub.ipao.vip,direct
|
||||||
|
go mod tidy
|
||||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o build/app .
|
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o build/app .
|
||||||
|
|
||||||
- name: Build final Docker image
|
- name: Build final Docker image
|
||||||
|
|||||||
Reference in New Issue
Block a user