Skip to content

Add source and revision metadata to artifacts#76

Merged
stefanprodan merged 1 commit intomainfrom
opencontainers-annotations
Sep 2, 2022
Merged

Add source and revision metadata to artifacts#76
stefanprodan merged 1 commit intomainfrom
opencontainers-annotations

Conversation

@stefanprodan
Copy link
Owner

Allow specifying the Git source URL and revision when publishing artifacts with kustomizer push artifact --source --revision.

The Git metadata is stored in the OCI artifact manifests as annotations:

  • org.opencontainers.image.source: <GIT-URL>
  • org.opencontainers.image.revision: <GIT-BRANCH|TAG>/<GIT-SHA>

The Open Containers annotations make the OCI artifacts produced by Kustomizer compatible with Flux v2.

Allow specifying the Git source URL and revision when publishing artifacts
with `kustomizer push artifact --source --revision`. The Git metadata
is stored in the OCI artifact manifests as annotations:
- `org.opencontainers.image.source: <GIT-URL>`
- `org.opencontainers.image.revision: <GIT-BRANCH|TAG>/<GIT-SHA>`

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
@stefanprodan stefanprodan added enhancement New feature or request area/artifact OCI Artifact related issues and pull requests labels Sep 2, 2022
@stefanprodan stefanprodan merged commit dbc30f3 into main Sep 2, 2022
@stefanprodan stefanprodan deleted the opencontainers-annotations branch September 2, 2022 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/artifact OCI Artifact related issues and pull requests enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant