From 9e9dcc87a6248cfeb9f2b48f280bf6b7795e4db9 Mon Sep 17 00:00:00 2001 From: Luis Ramirez Date: Wed, 30 Oct 2024 11:44:03 -0400 Subject: [PATCH] Fix license in container metadata Also remove the index annotation level -- for single platform export all we need it the manifest. See: https://github.com/docker/buildx/issues/2591 --- .github/workflows/build-container-image.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-container-image.yaml b/.github/workflows/build-container-image.yaml index 8a10f82..7a498fc 100644 --- a/.github/workflows/build-container-image.yaml +++ b/.github/workflows/build-container-image.yaml @@ -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 @@ -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 }} @@ -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 }}