Skip to content

Conversation

@martincostello
Copy link
Member

It was bugging me that GHCR shows a warning about a missing description. This should fix it.

image

- Add annotations to container image, manifest and index.
- Enable reproducible builds.
Copilot AI review requested due to automatic review settings November 10, 2025 10:46
@martincostello martincostello added the enhancement New feature or request label Nov 10, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for reproducible Docker builds by implementing SOURCE_DATE_EPOCH timestamps and Docker metadata annotations. The changes enable consistent build timestamps derived from Git commits and configure annotation levels for Docker images.

  • Introduces Git commit timestamp extraction step in both workflows
  • Configures SOURCE_DATE_EPOCH environment variable for reproducible builds
  • Adds Docker metadata annotation levels to manifest and index

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/release.yml Adds Git commit timestamp step, configures SOURCE_DATE_EPOCH and DOCKER_METADATA_ANNOTATIONS_LEVELS for DockerHub release workflow
.github/workflows/ghcr-image-build-and-publish.yml Adds Git commit timestamp step, configures SOURCE_DATE_EPOCH and DOCKER_METADATA_ANNOTATIONS_LEVELS, and passes annotations to build-push action for GHCR workflow

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Update docker-build-push-image to 0.2.0 to support annotations.

Signed-off-by: Martin Costello <[email protected]>
@martincostello martincostello enabled auto-merge (squash) November 11, 2025 09:27
Copy link
Member

@zeitlinger zeitlinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

surprisingly hard to get this right

@martincostello martincostello merged commit 67fcb94 into main Nov 11, 2025
44 checks passed
@martincostello martincostello deleted the image-annotations branch November 11, 2025 09:32
@martincostello
Copy link
Member Author

...and fixed.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants