Skip to content

Commit

Permalink
Fix license in container metadata
Browse files Browse the repository at this point in the history
Also remove the index annotation level -- for single platform export all we need it the manifest.

See: docker/buildx#2591
  • Loading branch information
sibucan committed Oct 30, 2024
1 parent 6783941 commit 9e9dcc8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-container-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
id: image-metadata
uses: docker/metadata-action@v5
env:
DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index
DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest
with:
images: |
docker.io/superorbital/capargo
Expand All @@ -44,7 +44,7 @@ jobs:
type=match,pattern=v(\d.\d).\d,group=1,prefix=v,enable=${{ startsWith(github.ref, 'refs/tags/v') }}
type=match,pattern=v(\d).\d.\d,group=1,prefix=v,enable=${{ startsWith(github.ref, 'refs/tags/v') }}
labels: |
org.opencontainers.image.licenses=LicenseRef-Proprietary
org.opencontainers.image.licenses=MIT
org.opencontainers.image.authors=SuperOrbital, LLC
org.opencontainers.image.description=A controller that automatically registers any Cluster API cluster in your local ArgoCD instance.
org.opencontainers.image.documentation=https://github.com/superorbital/${{ github.event.repository.name }}/tree/${{ github.sha }}
Expand All @@ -54,7 +54,7 @@ jobs:
org.opencontainers.image.url=https://github.com/superorbital/${{ github.event.repository.name }}/tree/${{ github.sha }}
org.opencontainers.image.vendor=SuperOrbital, LLC
annotations: |
org.opencontainers.image.licenses=LicenseRef-Proprietary
org.opencontainers.image.licenses=MIT
org.opencontainers.image.authors=SuperOrbital, LLC
org.opencontainers.image.description=A controller that automatically registers any Cluster API cluster in your local ArgoCD instance.
org.opencontainers.image.documentation=https://github.com/superorbital/${{ github.event.repository.name }}/tree/${{ github.sha }}
Expand Down

0 comments on commit 9e9dcc8

Please sign in to comment.