From db430afb190fdaa440f8d82fe0a23dc51a5072d6 Mon Sep 17 00:00:00 2001 From: Ali Mihandoost Date: Tue, 7 Nov 2023 19:00:58 +0330 Subject: [PATCH] fix: images labels --- .github/workflows/publish-container.yml | 9 +++++++-- alpine/Dockerfile | 7 ------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish-container.yml b/.github/workflows/publish-container.yml index 9d15987..491de44 100644 --- a/.github/workflows/publish-container.yml +++ b/.github/workflows/publish-container.yml @@ -71,8 +71,13 @@ jobs: type=raw,value=${{matrix.version.short}} type=raw,value=${{matrix.version.full}} labels: | - org.opencontainers.image.authors=Ali.Mihandoost@gmail.com,njfamirm@gmail.com - org.opencontainers.image.title=@Alwatr/${{matrix.name}} + org.opencontainers.image.title="alwatr/${{matrix.name}}" + org.opencontainers.image.authors=S. Ali Mihandoost (https://ali.mihandoost.com), S. Amir Mohammad Najafi (https://njfamirm.ir/) + org.opencontainers.image.source="https://github.com/Alwatr/containers/tree/main/${{matrix.name}}" + org.opencontainers.image.licenses="MIT" + org.opencontainers.image.url="https://github.com/Alwatr/containers/tree/main/${{matrix.name}}" + org.opencontainers.image.documentation="https://github.com/Alwatr/containers/tree/main/${{matrix.name}}" + org.opencontainers.image.vendor="Alwatr" - name: 🏗 Install cosign if: ${{ github.event_name != 'pull_request' && steps.file_change.outputs.container_folder == 'true' }} diff --git a/alpine/Dockerfile b/alpine/Dockerfile index dcbb1d1..293f004 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -1,13 +1,6 @@ FROM docker.io/library/alpine:3.17 -LABEL org.opencontainers.image.title="alpine" -LABEL org.opencontainers.image.source="https://github.com/Alwatr/containers" LABEL org.opencontainers.image.description="Minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size!" -LABEL org.opencontainers.image.authors="Alwatr (https://alwatr.ir)" -LABEL org.opencontainers.image.licenses="MIT" -LABEL org.opencontainers.image.url="https://github.com/Alwatr/containers/alpine" -LABEL org.opencontainers.image.documentation="https://github.com/Alwatr/containers/alpine/README.md" -LABEL org.opencontainers.image.vendor="Alwatr" ARG APK_TESTING RUN set -ex; \