-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add controller-gen and client-gen versions to 1.22 builds #35
add controller-gen and client-gen versions to 1.22 builds #35
Conversation
Hey @foolusion thanks for the contribution, could you follow https://docs.pi-hole.net/guides/github/how-to-signoff/ to signoff your commit so the DCO check passes? |
.github/workflows/image.yaml
Outdated
@@ -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" }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The workflow is not valid. .github/workflows/image.yaml (Line: 99, Col: 23): Unexpected symbol: '"v0'. Located at position 34 within expression: matrix.controller-gen-version || "v0.9.2"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks like you have to use single quotes inside the expressions.
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]>
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]> Signed-off-by: Andrew O'Neill <[email protected]>
a176607
to
764f2a8
Compare
Signed-off-by: Andrew O'Neill <[email protected]>
53a88b6
to
0dce9a6
Compare
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.