Skip to content

Conversation

@LeWimbes
Copy link
Contributor

Motivation

While working on #949, I noticed that packages (deb/rpm) and Docker images are currently created and uploaded manually. This PR introduces a release workflows to streamline the release process.

Changes

This PR adds a GitHub workflow that automatically triggers on release publication and handles:

Package Building & Publishing

  • Builds all four package variants (core/core-distributed for deb/rpm) using Dockerfile.build.
  • Extracts packages from the build container.
  • Generates provenance attestations.
  • Uploads packages to the GitHub release.

Docker Image Building & Publishing

  • Builds core-ubuntu and core-rocky images.
  • Creates multi-version tags:
    • latest - always points to the newest release.
    • X - major version (e.g., 9).
    • X.Y - minor version (e.g., 9.2).
    • X.Y.Z - full version (e.g., 9.2.1).
  • Generates provenance attestations.
  • Pushes images to GHCR.

Testing

I tested this PR alongside the changes from #949 in my fork.
Once this PR has been merged or closed, I will delete the dummy release and images.

- Build and upload deb/rpm packages
- Publish Docker images to GHCR with version tags (latest, X, X.Y, X.Y.Z)
- Generate provenance attestations for packages and images
@LeWimbes LeWimbes marked this pull request as draft December 23, 2025 18:12
@LeWimbes LeWimbes marked this pull request as ready for review December 23, 2025 23:29
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