Skip to content

Commit

Permalink
base: rebuild go binary deps from source (#4524)
Browse files Browse the repository at this point in the history
Signed-off-by: zhangzujian <[email protected]>
  • Loading branch information
zhangzujian committed Sep 20, 2024
1 parent a661722 commit ce269f2
Show file tree
Hide file tree
Showing 7 changed files with 227 additions and 74 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build-kube-ovn-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,17 @@ jobs:
ref: ${{ matrix.branch }}
- uses: docker/setup-buildx-action@v3

- uses: actions/setup-go@v5
if: (github.event.inputs.branch || matrix.branch) == matrix.branch
id: setup-go
with:
go-version-file: go.mod
check-latest: true
cache: false

- name: Build
env:
GO_VERSION: ${{ steps.setup-go.outputs.go-version }}
run: |
make base-amd64
make base-tar-amd64
Expand All @@ -45,7 +55,17 @@ jobs:
with:
platforms: arm64

- uses: actions/setup-go@v5
if: (github.event.inputs.branch || matrix.branch) == matrix.branch
id: setup-go
with:
go-version-file: go.mod
check-latest: true
cache: false

- name: Build
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 ce269f2

Please sign in to comment.