Skip to content

Commit

Permalink
add controller-gen and client-gen versions to 1.22 builds
Browse files Browse the repository at this point in the history
This should add the proper controller-gen and client-gen versions to build with go 1.22. I'm not very familiar with github actions so let me know if there is a better way to include the defaults.

Signed-off-by: Andrew O'Neill <[email protected]>
  • Loading branch information
foolusion committed Apr 5, 2024
1 parent eb86f2f commit 79efce0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ jobs:
- "1.20.5"
ispr:
- ${{github.event_name == 'pull_request'}}
include:
- go-version: "1.22"
controller-gen-version: "v0.14.0"
client-gen-version: "v0.29.2"
- go-version: "1.22.1"
controller-gen-version: "v0.14.0"
client-gen-version: "v0.29.2"
exclude:
- ispr: true
go-version: "1.21.4"
Expand Down Expand Up @@ -91,4 +98,6 @@ jobs:
platforms: ${{ env.IMAGE_PLATFORMS }}
build-args: |
GOLANG_VERSION=${{ matrix.go-version }}
CONTROLLER_GEN_VERSION=${{ matrix.controller-gen-version || "v0.9.2" }}
CLIENT_GEN_VERSION=${{ matrix.client-gen-version || "v0.26.1" }}
tags: ghcr.io/nvidia/k8s-test-infra:devel-go${{ matrix.go-version }}

0 comments on commit 79efce0

Please sign in to comment.