Skip to content

Align docker release scripts with Elasticsearch multi-arch buildx - #1073

Open
kunisen wants to merge 3 commits into
elastic:mainfrom
kunisen:kunisen-pr-stl-1959
Open

kunisen wants to merge 3 commits into
elastic:mainfrom
kunisen:kunisen-pr-stl-1959

Conversation

@kunisen

@kunisen kunisen commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Make docker-build.sh, push-docker.sh, and the Buildkite docker step use the same buildx path as Elasticsearch: linux/amd64 and linux/arm64 combined into one Docker manifest.
https://github.com/elastic/elasticsearch/blob/main/distribution/docker/README.md (section "Multi-architecture images")

Test plan

  • ./docker-build.sh completes for linux/amd64,linux/arm64
  • ./push-docker.sh (or ./push-docker.sh 9.4.2) pushes both tags
  • docker buildx imagetools inspect docker.elastic.co/support/diagnostics:<version> shows both platforms
  • docker buildx imagetools inspect docker.elastic.co/support/diagnostics:latest shows the same digest

Assisted by Cursor 🤖

Build linux/amd64 and linux/arm64 into one manifest, and retag latest
on that same push so a hand release matches Buildkite.
@kunisen
kunisen requested review from a team and pickypg as code owners September 28, 2026 06:57
kunisen and others added 2 commits September 28, 2026 16:11
Same as Elasticsearch local dockerBuild: native platform, --load, then
run --help. Publish stays on Buildkite main.

Co-authored-by: Cursor <cursoragent@cursor.com>
GitHub Actions cannot pull docker.elastic.co/wolfi/jdk. Image build
and publish stay on Buildkite, which already logs in.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docker] Align release scripts with Buildkite multi-arch; retag latest and arch manifests

1 participant