From 42c8b0c4c9e31889d6c1f66397ac004d1965e095 Mon Sep 17 00:00:00 2001 From: Nicolas Duchon Date: Fri, 14 Jan 2022 14:39:33 +0100 Subject: [PATCH] CI: replace maintainer label w/ OCI authors label --- .github/workflows/dockerhub.yml | 2 ++ Dockerfile | 1 - Dockerfile.alpine | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dockerhub.yml b/.github/workflows/dockerhub.yml index 757e8ac..cb3635e 100644 --- a/.github/workflows/dockerhub.yml +++ b/.github/workflows/dockerhub.yml @@ -44,6 +44,7 @@ jobs: type=semver,pattern={{major}}.{{minor}} type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }} labels: | + org.opencontainers.image.authors=Nicolas Duchon (@buchdag), Jason Wilder org.opencontainers.image.version=${{ env.GIT_DESCRIBE }} - name: Set up QEMU @@ -97,6 +98,7 @@ jobs: type=semver,suffix=-alpine,pattern={{major}}.{{minor}} type=raw,value=alpine,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }} labels: | + org.opencontainers.image.authors=Nicolas Duchon (@buchdag), Jason Wilder org.opencontainers.image.version=${{ env.GIT_DESCRIBE }} flavor: latest=false diff --git a/Dockerfile b/Dockerfile index 232098e..4574b27 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,7 +37,6 @@ RUN git clone https://github.com/nginx-proxy/forego/ \ # Build the final image FROM nginx:1.21.5 -LABEL maintainer="Nicolas Duchon (@buchdag)" ARG NGINX_PROXY_VERSION # Add DOCKER_GEN_VERSION environment variable diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 6852b5a..c7f2472 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -38,7 +38,6 @@ RUN git clone https://github.com/nginx-proxy/forego/ \ # Build the final image FROM nginx:1.21.5-alpine -LABEL maintainer="Nicolas Duchon (@buchdag)" ARG NGINX_PROXY_VERSION # Add DOCKER_GEN_VERSION environment variable