Publish multi-arch pg_durable Docker images to GHCR on releases and main#218
Merged
Conversation
Co-authored-by: pinodeca <32303022+pinodeca@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add ready-to-use Docker image to public registry
Publish multi-arch pg_durable Docker images to GHCR on releases and main
Jun 9, 2026
- Remove push-to-main/edge trigger; publish only on v* tags and dispatch - Build published image with http-allow-all (test/learning only); add HTTP_FEATURE build arg to Dockerfile and document not-for-production - Add shared composite action to build + smoke-test the image; use it in both Docker CI and the publish workflow so the image is verified pre-push - Bake PG major into tags (X.Y.Z-pg17, vX.Y.Z-pg17, sha-<sha>-pg17); only the highest stable release moves floating pg17/latest tags - Treat v*-prerelease tags as immutable-only (no floating tag moves) - Add OCI image labels (source, version, revision, licenses, etc.) - Support workflow_dispatch ref input to publish a tag predating the workflow - Add dry_run input to rehearse the publish path without pushing to GHCR - Trigger Docker CI on changes to the shared composite action
Contributor
|
I bypassed review rules and merged this one because:
I will test and open a follow-up PR. |
This was referenced Jun 10, 2026
Closed
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.
pg_durable currently requires local source builds to try the extension, creating a high setup barrier for evaluation. This PR adds automated publishing of a ready-to-run public image so users can start from
docker runinstead of compiling Rust/pgrx locally.Container publishing workflow
.github/workflows/docker-publish.ymlto build and push a multi-arch image (linux/amd64,linux/arm64) toghcr.io/<owner>/pg_durable.pushtomainv*)workflow_dispatchTagging strategy
pg17,sha-<short_sha>.main: publishesedge.vX.Y.Z): publisheslatest,vX.Y.Z, andX.Y.Z.README updates
docker runexample for pulling and starting the prebuilt image.