Skip to content

Conversation

@martincostello
Copy link
Member

  • Remove build-date, which is wrong, and rely on org.opencontainers.image.created instead.
  • Specify org.opencontainers.image.revision as it is not always correct.

See #837 (comment).

- Remove `build-date`, which is wrong, and rely on `org.opencontainers.image.created` instead.
- Specify `org.opencontainers.image.revision` as it is not always correct.
Copilot AI review requested due to automatic review settings November 7, 2025 14:53
@martincostello martincostello enabled auto-merge (squash) November 7, 2025 14:53
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 enhances Docker image metadata by adding standard OCI annotations and cleaning up inherited labels from the base image.

  • Adds org.opencontainers.image.revision label containing the git SHA to both release workflows
  • Blanks out the build-date label inherited from the base image to maintain consistency with other cleaned-up base image labels

Reviewed Changes

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

File Description
docker/Dockerfile Adds build-date="" to the list of base image labels being blanked out
.github/workflows/release.yml Adds org.opencontainers.image.revision OCI standard label with git SHA
.github/workflows/ghcr-image-build-and-publish.yml Adds org.opencontainers.image.revision OCI standard label with git SHA

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

@martincostello martincostello merged commit 3cb1c80 into main Nov 7, 2025
50 checks passed
@martincostello martincostello deleted the fix-container-labels branch November 7, 2025 15:00
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