Skip to content

Commit

Permalink
org.opencontainers.image.revision should be the hash, not the ref
Browse files Browse the repository at this point in the history
  • Loading branch information
candrews committed Jul 12, 2024
1 parent dca1e5e commit bad7eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text/0000-oci-image-annotations.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The target personas as buildpack users, platform operators, and platform impleme
# How it Works
[how-it-works]: #how-it-works

When building the buildpack, the `buildpack` tool can get the values for the `org.opencontainers.image.source` and `org.opencontainers.image.revision` annotations from git. `org.opencontainers.image.source` is derived from the git origin and `org.opencontainers.image.revision` is the git commit ref.
When building the buildpack, the `buildpack` tool can get the values for the `org.opencontainers.image.source` and `org.opencontainers.image.revision` annotations from git. `org.opencontainers.image.source` is derived from the git origin and `org.opencontainers.image.revision` is the git commit hash.

The other annotation values come from `buildpack.toml` mapped to OCI annotations as follows:

Expand Down

0 comments on commit bad7eb7

Please sign in to comment.