From 90d682a799e4dc841b4288e96a53be26060a476e Mon Sep 17 00:00:00 2001
From: jo <ljonas@riseup.net>
Date: Thu, 2 Mar 2023 13:49:20 +0100
Subject: [PATCH] ci: update docker hub containers description

---
 .github/workflows/container.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml
index 52c73b446..d7e2afd75 100644
--- a/.github/workflows/container.yml
+++ b/.github/workflows/container.yml
@@ -22,6 +22,15 @@ jobs:
     steps:
       - uses: actions/checkout@v3
 
+      - name: Update Docker Hub description
+        if: github.event_name == 'push'
+        uses: peter-evans/dockerhub-description@v3
+        with:
+          username: ${{ secrets.DOCKERHUB_USERNAME }}
+          password: ${{ secrets.DOCKERHUB_TOKEN }}
+          repository: libretime/libretime-${{ matrix.target }}
+          readme-filepath: ./README.md
+
       - uses: docker/metadata-action@v4
         id: meta
         with: