Repository navigation
build: update Go to 1.27 - #26451
Merged
Merged
build: update Go to 1.27#26451
Conversation
✅ Deploy Preview for docsdocker ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
No defects were identified, but image-tag availability and the isolated PR’s CI results lack sufficiently verified evidence for automated approval.
No open issues 🎉
What changed in this PR
Updates the documentation build and releaser toolchains to Go 1.27, preparing for the Docker Agent dependency sync in #26368.
Changes:
- Raises
GO_VERSIONfrom1.26to1.27in both Dockerfiles. - Preserves floating minor-version image tags and leaves module files and documentation examples unchanged.
| File | Description |
|---|---|
hack/releaser/Dockerfile |
Updates the releaser’s Go toolchain to 1.27. |
Dockerfile |
Updates the documentation build’s Go toolchain to 1.27. |
Review effort: Balanced
dvdksn
approved these changes
Oct 27, 2026
dvdksn
pushed a commit
that referenced
this pull request
Oct 27, 2026
## Summary - Stop mounting Docker Agent Community on docs.docker.com; keep technical sections and Guides mounted. - Sync the module pin and generated vendor files to Docker Agent v1.152.0, which includes docker/docker-agent#4618 (`cc52bd76`). - Redirect the Community root, Contributing, and Resources to GitHub Pages. Preserve the three technical-page redirects through upstream aliases. ## Merge order Depends on #26451 for Go 1.27. This branch includes its commit by ancestry; both PRs target `main`. Merge #26451 first. Coordinate with the docs team: this supersedes the sync in #25913. Draft #25919 remains suspended and compatible. Neither bot PR was edited or closed. ## Redirects | Former `/ai/docker-agent/` path | Destination | | --- | --- | | `community/` | https://docker.github.io/docker-agent/community/contributing/ | | `community/contributing/` | https://docker.github.io/docker-agent/community/contributing/ | | `community/resources/` | https://docker.github.io/docker-agent/community/resources/ | | `community/telemetry/` | `/ai/docker-agent/configuration/telemetry/` | | `community/opentelemetry/` | `/ai/docker-agent/configuration/opentelemetry/` | | `community/troubleshooting/` | `/ai/docker-agent/guides/troubleshooting/` | The GitHub Pages `/community/` root returns 404, so the former section root redirects to Contributing. ## Validation CI passes, including build, vendor validation, and redirect tests. Local checks passed for all 9 redirect unit tests, six generated mappings, and 24 CloudFront cases covering trailing slashes and query strings.
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.
Update
GO_VERSIONfrom 1.26 to 1.27 in the root and releaser Dockerfiles. Keep the floating minor-version image tags used in 6a09393 and da38930; both 1.27 tags resolve to Go 1.27.3 on October 26, 2026. Unlike those broader updates, this PR leaves module files and the Go version used in documentation examples unchanged.Docker Agent v1.151.0 and later require Go 1.27. The official Go image sets
GOTOOLCHAIN=local, so the Go 1.26 build cannot vendor those releases. Dailysync-docker-agent-docsruns have failed since at least October 24, 2026; the October 26 run reports this version mismatch while vendoring v1.152.0.#26368 will be stacked on this PR to sync Docker Agent v1.152.0 and fix the Community links. Merge this toolchain upgrade first.
Validation:
dockerfile-lint,releaser-build,releaser-test(9 tests), andvalidate-api-referencepassed withdocker buildx bake. Localvalidate-vendorandtesthit the existing Community vendor mismatch and nine missing references from the separately applied #26368 changes. CI on this isolated two-line PR is the authoritative check for those targets.