Skip to content

Commit

Permalink
base: rebuild go binary deps from source
Browse files Browse the repository at this point in the history
Signed-off-by: zhangzujian <[email protected]>
  • Loading branch information
zhangzujian committed Sep 13, 2024
1 parent bf75a65 commit 950a5b8
Show file tree
Hide file tree
Showing 7 changed files with 237 additions and 147 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build-kube-ovn-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,17 @@ jobs:
- uses: docker/setup-buildx-action@v3
if: (github.event.inputs.branch || matrix.branch) == matrix.branch

- uses: actions/setup-go@v5
id: setup-go
with:
go-version-file: go.mod
check-latest: true
cache: false

- name: Build
if: (github.event.inputs.branch || matrix.branch) == matrix.branch
env:
GO_VERSION: ${{ steps.setup-go.outputs.go-version }}
run: |
make base-amd64
make base-tar-amd64
Expand Down Expand Up @@ -77,8 +86,17 @@ jobs:
with:
platforms: arm64

- uses: actions/setup-go@v5
id: setup-go
with:
go-version-file: go.mod
check-latest: true
cache: false

- name: Build
if: (github.event.inputs.branch || matrix.branch) == matrix.branch
env:
GO_VERSION: ${{ steps.setup-go.outputs.go-version }}
run: |
make base-arm64 || make base-arm64
make base-tar-arm64
Expand Down
Loading

0 comments on commit 950a5b8

Please sign in to comment.