Let ko install pick its Go toolchain #185

Merged
benvin merged 1 commits from benvin/fix-ko-toolchain into master 2026-11-21 00:03:56 +11:00
Member

setup-go exports GOTOOLCHAIN=local, pinning the Go version from go.mod (1.25.9). ko v0.19.1 requires go >= 1.26.3, so go install of ko fails in the GitHub Actions build and release jobs.

  • Set GOTOOLCHAIN=auto on the ko install step in ci.yml so Go fetches the toolchain ko needs
  • Set GOTOOLCHAIN=auto on the ko/crane install step in release.yml
setup-go exports GOTOOLCHAIN=local, pinning the Go version from go.mod (1.25.9). ko v0.19.1 requires go >= 1.26.3, so `go install` of ko fails in the GitHub Actions build and release jobs. - Set GOTOOLCHAIN=auto on the ko install step in ci.yml so Go fetches the toolchain ko needs - Set GOTOOLCHAIN=auto on the ko/crane install step in release.yml
unkin-agent added 1 commit 2026-11-20 23:39:15 +11:00
Let ko install pick its Go toolchain
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci / pre-commit (pull_request) Has been cancelled
ci / lint (pull_request) Has been cancelled
ci / test (pull_request) Has been cancelled
ci / build (pull_request) Has been cancelled
ci / ui (pull_request) Has been cancelled
97a7efee00
Author
Member

No findings.

No findings.
benvin merged commit 801ba265fe into master 2026-11-21 00:03:56 +11:00
benvin deleted branch benvin/fix-ko-toolchain 2026-11-21 00:03:56 +11:00
This repo is archived. You cannot comment on pull requests.
No Reviewers
No Label
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/artifactapi#185