Merge pull request #2547 from mtrmac/go1.23-minimal

Update to Go 1.23
This commit is contained in:
Miloslav Trmač 2025-03-18 19:50:26 +01:00 committed by GitHub
commit c87f3aeaac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 4 deletions

View File

@ -51,8 +51,11 @@ jobs:
failure_comment: failure_comment:
message: "Ephemeral COPR build failed. @containers/packit-build please check." message: "Ephemeral COPR build failed. @containers/packit-build please check."
targets: &fedora_copr_targets targets: &fedora_copr_targets
- fedora-all-x86_64 # This should generally be fedora-all-*, but we exclude Fedora 40 because it does not have Go 1.23.
- fedora-all-aarch64 - fedora-latest-stable-x86_64
- fedora-latest-stable-aarch64
- fedora-development-x86_64
- fedora-development-aarch64
enable_net: true enable_net: true
- job: copr_build - job: copr_build

2
go.mod
View File

@ -1,7 +1,7 @@
module github.com/containers/skopeo module github.com/containers/skopeo
// Minimum required golang version // Minimum required golang version
go 1.22.8 go 1.23.0
// Warning: Ensure the "go" and "toolchain" versions match exactly to prevent unwanted auto-updates // Warning: Ensure the "go" and "toolchain" versions match exactly to prevent unwanted auto-updates

View File

@ -139,7 +139,7 @@ located at [https://github.com/containers/image_build/tree/main/skopeo](https://
Otherwise, read on for building and installing it from source: Otherwise, read on for building and installing it from source:
To build the `skopeo` binary you need at least Go 1.22. To build the `skopeo` binary you need at least Go 1.23.
There are two ways to build skopeo: in a container, or locally without a There are two ways to build skopeo: in a container, or locally without a
container. Choose the one which better matches your needs and environment. container. Choose the one which better matches your needs and environment.