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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.yamlworkflow 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/Containerfilenow 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/katenarywith the entrypoint set accordingly.