Repository navigation
fix: build releases with Go 1.27 - #184
Merged
Merged
Conversation
The pinned xgoreleaser image ships Go 1.26.0 with GOTOOLCHAIN=local, so
goreleaser's `go mod download` hook fails for modules that declare
go 1.27 ("go.mod requires go >= 1.27"). ory/cli is the first to hit it.
Pass GOTOOLCHAIN=go1.27.4+auto into the container so it fetches and
uses Go 1.27.4, or a newer toolchain if a go.mod requires one. Bump the
runner's setup-go to 1.27 to match.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DUBUDqE7fMHh9gNQ3mFxhj
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Pin oryd/xgoreleaser:1.27.4-2.14.1 by its multi-arch index digest. It ships Go 1.27.4, so the GOTOOLCHAIN override that fetched a newer toolchain into the 1.26.0 image is no longer needed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DUBUDqE7fMHh9gNQ3mFxhj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ory/cli's
v1.3.4-pre.0release fails inside the goreleaser container (run):The pinned
oryd/xgoreleaser:1.26.0-2.14.1image ships Go 1.26.0 withGOTOOLCHAIN=local, and ory/cli'sgo.modnow saysgo 1.27.Changes
oryd/xgoreleaser:1.27.4-2.14.1@sha256:c70e99a0…(build, unblocked by fix: make the Docker publish workflow parse again xgoreleaser#29 and fix: provide project name to render version schema via argument #30). It's a multi-arch index; the releaser keeps pullinglinux/amd64.setup-gofrom 1.25 to 1.27 to match (some repos run Go inmake post-release).Checked locally against the pinned digest (
linux/amd64):build.tmpl.ymluses are present:x86_64-linux-gnu-gcc,x86_64-linux-musl-gcc,aarch64-linux-musl-gcc,o64-clang.cosignandcyclonedx-gomodare present.go mod downloadsucceeds on ory/cli.All repos using the releaser build with Go 1.27.4 after this, which is fine for modules on older
golines.🤖 Generated with Claude Code
https://claude.ai/code/session_01DUBUDqE7fMHh9gNQ3mFxhj