feat(oci): Use Buildah #158
Reference in New Issue
Block a user
No description provided.
Delete Branch "features/oci-image"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request updates the OCI image build process by transitioning from Docker-based actions to Red Hat's
buildah
andpush-to-registry
GitHub Actions. The changes also include improvements to theContainerfile
to enforce version handling and streamline the build process.Workflow updates for OCI image building:
.github/workflows/build-oci.yaml
: Changed the trigger fromrelease
events topush
events for all tags. Updated the workflow to usebuildah-build
andpush-to-registry
actions instead of Docker-based actions, simplifying the build and push steps. Added permissions forpackages: write
andcontents: read
to the workflow. [1] [2]Containerfile enhancements:
oci/katenary/Containerfile
: Added a check to ensure theVERSION
build argument is set. Replacedgo install
withgo build
to include version information in the binary using linker flags. Updated paths and build steps to align with the new build process.And set version the right way...