Skip to content

Add OCI image annotations#141

Merged
simar7 merged 1 commit intoaquasecurity:mainfrom
candrews:patch-4
Jun 5, 2024
Merged

Add OCI image annotations#141
simar7 merged 1 commit intoaquasecurity:mainfrom
candrews:patch-4

Conversation

@candrews
Copy link
Contributor

These annotations are useful for tools (such as Renovate and Snyk) to use as well as for manual use by individuals.

See: https://github.com/opencontainers/image-spec/blob/v1.1.0/annotations.md#pre-defined-annotation-keys
@candrews candrews requested a review from simar7 as a code owner May 30, 2024 14:14
Comment on lines +31 to +32
--annotation "org.opencontainers.image.source=$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" \
--annotation "org.opencontainers.image.revision=$GITHUB_SHA" \
Copy link
Member

Choose a reason for hiding this comment

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

What are the values for these variables? Are they documented somewhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@simar7 simar7 self-requested a review June 5, 2024 04:06
Copy link
Member

@simar7 simar7 left a comment

Choose a reason for hiding this comment

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

awesome, thank you kindly!

@simar7 simar7 added this pull request to the merge queue Jun 5, 2024
Merged via the queue into aquasecurity:main with commit 20a101a Jun 5, 2024
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