Skip to content

Conversation

@ryboe
Copy link
Owner

@ryboe ryboe commented May 31, 2025

This pull request updates the GitHub Actions workflow for the release process by enhancing the Docker build steps with additional metadata and security features. The most important changes include adding OCI labels and annotations, enabling SBOM generation, and setting provenance mode to maximize build traceability.

Enhancements to Docker build steps:

  • .github/workflows/release.yml: Added a step to include OCI labels using the docker/metadata-action@v5 action, which generates metadata for Docker images.
  • .github/workflows/release.yml: Updated the Docker build step to include annotations and labels from the OCI metadata step, enabled SBOM generation for software bill of materials, and set provenance mode to max for enhanced traceability.Attestations are cryptographically signed metadata that somehow aid in supply chain security. Annotations add metadata to the registry (i.e. ghcr.io). Labels add metadata to the image itself.

Attestations are cryptographically signed metadata that somehow aid in
supply chain security. Annotations add metadata to the registry (i.e.
ghcr.io). Labels add metadata to the image itself.
@ryboe ryboe merged commit 0120d9b into main May 31, 2025
1 check passed
@ryboe ryboe deleted the add_image_metadata branch May 31, 2025 22:34
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.

2 participants