Skip to content

build: update Go to 1.27 - #26451

Merged
dvdksn merged 1 commit into
docker:mainfrom
aheritier:build/go-1.27
Oct 27, 2026
Merged

dvdksn merged 1 commit into
docker:mainfrom
aheritier:build/go-1.27

Conversation

@aheritier

Copy link
Copy Markdown
Contributor

Update GO_VERSION from 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. Daily sync-docker-agent-docs runs 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), and validate-api-reference passed with docker buildx bake. Local validate-vendor and test hit 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.

Copilot AI balanced review requested due to automatic review settings October 26, 2026 16:22
@netlify

netlify Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit bde7515
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6adf7e561c95fce4b33cc949
😎 Deploy Preview https://deploy-preview-26451--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 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_VERSION from 1.26 to 1.27 in 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
dvdksn merged commit 55518f1 into docker:main Oct 27, 2026
18 checks passed
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/config area/release Relates to CI or deployment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants