Features/buildah build #159
Reference in New Issue
Block a user
No description provided.
Delete Branch "features/buildah-build"
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 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:
.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:
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.