Skip to content

Commit

Permalink
build: keep Go version consistent with image-builder
Browse files Browse the repository at this point in the history
  • Loading branch information
lzap committed Oct 11, 2024
1 parent 11b6cca commit 36c7bc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/osbuild/images

go 1.21.0
go 1.22.0

toolchain go1.22.5

Expand Down
4 changes: 3 additions & 1 deletion tools/prepare-source.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

set -eux

GO_VERSION=1.21.11
# Go version must be consistent with image-builder which uses UBI
# container that is typically few months behind
GO_VERSION=1.21.13
GO_BINARY=$(go env GOPATH)/bin/go$GO_VERSION

# this is the official way to get a different version of golang
Expand Down

0 comments on commit 36c7bc7

Please sign in to comment.