From ba1c7d93ab6655d354b61d0d1aa2f56e6380982d Mon Sep 17 00:00:00 2001 From: Henry Bravo Date: Sat, 22 Jun 2024 16:27:20 +0200 Subject: [PATCH] Author field label as MAINTAINER is deprecated --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 99d32df..2dc35a8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -32,11 +32,11 @@ jobs: RepoTags: {{.RepoTags}} RepoDigests: {{.RepoDigests}} Created: {{.Created}} - Author: {{.Author}} Architecture: {{.Architecture}} OS: {{.Os}} Size: {{.Size}} Metadata: {{.Metadata}} + Author: {{ index .Config.Labels "org.opencontainers.image.authors" }} ' ${{ secrets.REGISTRY_LOGIN_SERVER }}/ssl-checker-webapp:latest echo '----------------------------------------' build-and-push-to-dockerhub: @@ -64,10 +64,10 @@ jobs: RepoTags: {{.RepoTags}} RepoDigests: {{.RepoDigests}} Created: {{.Created}} - Author: {{.Author}} Architecture: {{.Architecture}} OS: {{.Os}} Size: {{.Size}} Metadata: {{.Metadata}} + Author: {{ index .Config.Labels "org.opencontainers.image.authors" }} ' ${{ secrets.DOCKERHUB_USERNAME }}/ssl-checker-webapp:latest echo '----------------------------------------' \ No newline at end of file