Features/buildah build #159

Merged
metal3d merged 4 commits from features/buildah-build into master 2025-08-13 08:20:49 +00:00
Owner

This pull request updates the OCI image build process for the project, switching from Docker-based GitHub Actions to using Buildah for building and pushing images, and improves version tagging and binary embedding in the resulting image. The changes ensure that images are tagged with the correct version and latest tags, and the built binary now includes version information.

Build workflow updates:

  • The .github/workflows/build-oci.yaml workflow now uses Buildah instead of Docker Buildx to build and push OCI images, and triggers on all tag pushes instead of releases. It also sets up the necessary permissions for package publishing and adds explicit version tagging for the images.

Containerfile improvements:

  • The oci/katenary/Containerfile now builds the binary with embedded version information using Go linker flags, sets the working directory explicitly, and updates the image to copy the binary to /katenary with the entrypoint set accordingly.
This pull request updates the OCI image build process for the project, switching from Docker-based GitHub Actions to using Buildah for building and pushing images, and improves version tagging and binary embedding in the resulting image. The changes ensure that images are tagged with the correct version and latest tags, and the built binary now includes version information. **Build workflow updates:** * The `.github/workflows/build-oci.yaml` workflow now uses Buildah instead of Docker Buildx to build and push OCI images, and triggers on all tag pushes instead of releases. It also sets up the necessary permissions for package publishing and adds explicit version tagging for the images. **Containerfile improvements:** * The `oci/katenary/Containerfile` now builds the binary with embedded version information using Go linker flags, sets the working directory explicitly, and updates the image to copy the binary to `/katenary` with the entrypoint set accordingly.
Sign in to join this conversation.
No description provided.