Create patch image and add patch workflow#61
Merged
prestodb-ci merged 6 commits intoprestodb:patch-11from Feb 23, 2026
Merged
Conversation
Contributor
Author
|
@NikhilCollooru I published 2 images to my repo, please test them with your PR, thanks. Related PR: prestodb/presto#27070 |
tdcmeehan
approved these changes
Feb 20, 2026
tdcmeehan
approved these changes
Feb 20, 2026
Contributor
Author
|
Tested the new images with current CI in presto master branch, passed. |
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.
Release Workflow Improvements
This PR refactors the GitHub Actions release workflow to simplify the release process and fix critical bugs.
Changes
1. Fixed Version Increment Bug 🐛
Problem: When releasing version 11, the next snapshot version became
1-SNAPSHOTinstead of12-SNAPSHOTFix: Correctly reference the release version output for arithmetic increment
2. Simplified Release Process ✨
Removed manual input parameters:
release_type(new_version/from_version)version(manual version number)New branch-based approach:
master→ Creates new release automaticallyrelease-*orpatch-*→ Publishes that release3. Added Branch Validation 🛡️
New validation job ensures workflow only runs on:
master- for creating new releasesrelease-*- for publishing releasespatch-*- for publishing patchesFails fast with clear error message on invalid branches.
4. Release Branch Creation 🌿
When running on master, the workflow now:
release-{VERSION}branch (e.g.,release-11){VERSION}tag on that branch12-SNAPSHOT)5. Simplified Checkout Logic 🔄
Removed redundant tag checkout - now uses single checkout of the selected branch for clearer flow.
6. Upgraded centos7-oj8 to JDK 17 ☕
Updated base image from
azul/zulu-openjdk-centos:11toazul/zulu-openjdk-centos:17for better performance and long-term support.7. Added Python 3 Support 🐍
Added Python 3 and pip3 to centos7-oj8 image, providing both Python 2 and Python 3 support for modern applications.
8. Multi-Architecture Build Support 🏗️
Added Docker Buildx support for building multi-architecture images (linux/amd64 and linux/arm64):
@multifor multi-arch buildsLOCAL_IMAGESandMULTI_IMAGESrepository variablesUsage
Creating a New Release
Result: Creates release branch, tag, publishes images, and prepares master for next version.
Publishing Existing Release
Result: Publishes images from that release branch.
Benefits