Skip to content

Commit

Permalink
docs(image): added container labels (#25)
Browse files Browse the repository at this point in the history
- [ ] Changes covered by unit and/or e2e tests;
- [ ] Documentation and examples updated;

## What this PR does / why we need it:
<!--
What code changes are made?
What problem does this PR addresses, or what feature this PR adds?
-->
Added container labels to conform to OCI Labels Specification.

## Which issue(s) this PR resolves:
<!--
Usage: `Resolves #<issue number>`, or `Resolves <link to the issue>`.
If PR is about `failing-tests`, please post the related tests in a
comment and do not use `Resolves`
-->
Resolves #19

Signed-off-by: Nikola Borska <[email protected]>
  • Loading branch information
niesmaczne authored Oct 31, 2024
1 parent cbcaa50 commit db1f0c3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,11 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.event.repository.owner.name }}/scribe:${{ github.ref_name }}
labels: |
org.opencontainers.image.title="scribe"
org.opencontainers.image.authors="anza-labs contributors"
org.opencontainers.image.vendor="anza-labs"
org.opencontainers.image.license="Apache-2.0"
org.opencontainers.image.source="https://github.com/anza-labs/scribe"
org.opencontainers.image.base.name="gcr.io/distroless/static:nonroot"
org.opencontainers.image.created=${{ github.event.created_at }}

0 comments on commit db1f0c3

Please sign in to comment.