Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/conforma/cli

go 1.26.7
go 1.26.8

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[medium] edge-case

The go directive was bumped from 1.26.7 to 1.26.8 (likely a side effect of Renovate running go mod tidy with a newer toolchain), but Dockerfile (line 19) and Dockerfile.dist (line 19) still pin Go 1.26.7 images by digest. Since Go 1.21+, the go directive is a minimum version requirement. With GOTOOLCHAIN=auto (the default), Docker builds will silently auto-download Go 1.26.8 at build time rather than using the pinned toolchain, undermining reproducibility. In restricted or air-gapped environments (or with GOTOOLCHAIN=local), the build will fail entirely because Go 1.26.7 is below the go.mod minimum of 1.26.8. CI workflows are unaffected because they use go-version-file: go.mod and will correctly install 1.26.8.

Suggested fix: Either (a) update both Dockerfile and Dockerfile.dist to use Go 1.26.8 images, or (b) revert the go directive back to 1.26.7 if the containerd v2.3.7 dependency does not actually require Go 1.26.8. Run go mod tidy with Go 1.26.7 to verify whether the directive bump is necessary for this dependency update.


require (
cuelang.org/go v0.16.0
Expand Down Expand Up @@ -157,7 +157,7 @@ require (
github.com/cncf/xds/go v0.0.0-20260202195803-dba9d589def2 // indirect
github.com/cockroachdb/apd/v3 v3.2.1 // indirect
github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be // indirect
github.com/containerd/containerd/v2 v2.3.4 // indirect
github.com/containerd/containerd/v2 v2.3.7 // indirect
github.com/containerd/errdefs v1.0.0 // indirect
github.com/containerd/errdefs/pkg v0.3.0 // indirect
github.com/containerd/log v0.1.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,8 @@ github.com/conforma/go-containerregistry v0.21.8-0.20260702142841-f9eefe19c7b2 h
github.com/conforma/go-containerregistry v0.21.8-0.20260702142841-f9eefe19c7b2/go.mod h1:oCPfU4CuHJHCjfKVdKys7ovSiqtwwGHqUC07pRYh+f8=
github.com/conforma/go-gather v1.2.0 h1:HYmUtkGPQRUOb2mEBQ51FTSO0SpZ//12mNp2AXcVxBs=
github.com/conforma/go-gather v1.2.0/go.mod h1:7LbJh5AAljGbOoUWQy+wBKu7MKecyG45bLbbe7Bo0/A=
github.com/containerd/containerd/v2 v2.3.4 h1:c2PJo/9UGVdiiw8SwrxuLxWGY+9b3jQ6Xp9zntneIvI=
github.com/containerd/containerd/v2 v2.3.4/go.mod h1:a30D8fWZJ1Uzx/2WpjLbLsxBkq9He41pe8ENW+QZ3LY=
github.com/containerd/containerd/v2 v2.3.7 h1:7PGbgAVKE4ieQjFPv7+kwAv7f9dCtRpExZwjExHD/Fk=
github.com/containerd/containerd/v2 v2.3.7/go.mod h1:usc1tgzxnUlhLLW9KLqTEKRTSix46fIc6XHDZt4Tlrs=
github.com/containerd/errdefs v1.0.0 h1:tg5yIfIlQIrxYtu9ajqY42W3lpS19XqdxRQeEwYG8PI=
github.com/containerd/errdefs v1.0.0/go.mod h1:+YBYIdtsnF4Iw6nWZhJcqGSg/dwvV7tyJ/kCkyJ2k+M=
github.com/containerd/errdefs/pkg v0.3.0 h1:9IKJ06FvyNlexW690DXuQNx2KA2cUJXx151Xdx3ZPPE=
Expand Down
Loading