From a57d56610354a24d9b211aaa782effac11d242e6 Mon Sep 17 00:00:00 2001
From: Cromefire_ <cromefire+git@pm.me>
Date: Mon, 23 Oct 2023 00:19:43 +0200
Subject: [PATCH] Use annotations on outputs

---
 .github/workflows/docker-publish.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml
index 9b0d015..f732d2e 100644
--- a/.github/workflows/docker-publish.yml
+++ b/.github/workflows/docker-publish.yml
@@ -135,7 +135,7 @@ jobs:
           labels: ${{ steps.meta.outputs.labels }}
           cache-from: type=gha
           cache-to: type=gha,mode=max
-          outputs: type=registry,name=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }},push-by-digest=true,name-canonical=true
+          outputs: type=registry,name=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }},push-by-digest=true,name-canonical=true,annotation.${{ join(steps.meta.outputs.labels, ",annotation.") }}
 
       - name: Export digest
         if: github.event_name != 'pull_request'