File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
build :
11
- runs-on : ubuntu-latest
11
+ runs-on : ubuntu-20.04
12
12
steps :
13
13
- name : Checkout code
14
14
uses : actions/checkout@v2
Original file line number Diff line number Diff line change 8
8
jobs :
9
9
release :
10
10
name : Release images
11
- runs-on : ubuntu-latest
11
+ runs-on : ubuntu-20.04
12
12
needs : []
13
13
steps :
14
14
- name : Checkout code
Original file line number Diff line number Diff line change 7
7
jobs :
8
8
release :
9
9
name : Release kernel images
10
- runs-on : ubuntu-latest
10
+ runs-on : ubuntu-20.04
11
11
needs : []
12
12
steps :
13
13
- name : Checkout code
Original file line number Diff line number Diff line change 8
8
jobs :
9
9
release :
10
10
name : Release
11
- runs-on : ubuntu-latest
11
+ runs-on : ubuntu-20.04
12
12
needs : []
13
13
steps :
14
14
- name : Checkout code
Original file line number Diff line number Diff line change @@ -63,8 +63,8 @@ env: ## Prepare build env
63
63
.PHONY : build
64
64
build : env format # # Build executables (linux/amd64 supported only)
65
65
mkdir -p $(BUILD_DIR )
66
- GOOS=linux GOARCH=amd64 go build -o $(BUILD_DIR ) /kubefire-linux-amd64 $(GO_LDFLAGS ) ./cmd/kubefire
67
- GOOS=linux GOARCH=arm64 go build -o $(BUILD_DIR ) /kubefire-linux-arm64 $(GO_LDFLAGS ) ./cmd/kubefire
66
+ GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o $(BUILD_DIR ) /kubefire-linux-amd64 $(GO_LDFLAGS ) ./cmd/kubefire
67
+ GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o $(BUILD_DIR ) /kubefire-linux-arm64 $(GO_LDFLAGS ) ./cmd/kubefire
68
68
69
69
.PHONY : build-cni
70
70
build-cni : # # Build CNI executables
You can’t perform that action at this time.
0 commit comments