Skip to content

Conversation

@janhoy
Copy link
Contributor

@janhoy janhoy commented Dec 23, 2025

We want to build multi platform nightly docker images at https://hub.docker.com/r/apache/solr-nightly/tags

INFRA says that Jenkins cannot do that since they do not provide QEMU support for docker buildx.

Here is a Github Workflow that will test and build every permutation of images that we currently build in Jenkins. It will push multi platform builds (linux/amd64 and linux/arm64) and replace these Jenkins jobs:

  • Solr-Docker-Test-main
  • Solr-Docker-Nightly-9.x
  • Solr-Docker-Nightly-10.0
  • Solr-Docker-Nightly-10.x
  • Solr-Docker-Nightly-9.10
  • Solr-Docker-Nightly-main
  • Solr-Docker-Official-Test-main

https://issues.apache.org/jira/browse/SOLR-18032

Use jdk21 also for main
Use -javaXX instead of -jdkXX as tag suffix
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces a GitHub Actions workflow to automate nightly Docker image builds for Apache Solr, replacing existing Jenkins jobs. The workflow builds multi-platform images (linux/amd64 and linux/arm64) for multiple branches with different JDK/JRE combinations and pushes them to Docker Hub.

Key changes:

  • Adds automated nightly builds (2 AM UTC) with manual trigger support
  • Builds Docker images for main, branch_10x, branch_10_0, and branch_9x with various JDK/JRE combinations
  • Supports multi-platform builds using QEMU and Docker Buildx for both amd64 and arm64 architectures

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

1 participant