From f26cf3329ad1805a3ad329553d68a8cea3db1c7f Mon Sep 17 00:00:00 2001 From: Robert Waffen Date: Fri, 2 Aug 2024 13:19:00 +0200 Subject: [PATCH 1/2] Push container also to shotname repositories Signed-off-by: Robert Waffen --- .github/workflows/build_docker.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build_docker.yml b/.github/workflows/build_docker.yml index 16fbbd2e..ccf48e8e 100644 --- a/.github/workflows/build_docker.yml +++ b/.github/workflows/build_docker.yml @@ -47,9 +47,15 @@ jobs: ghcr.io/${{ github.repository }}:${{ matrix.version }}-${{ github.ref_name }} ghcr.io/${{ github.repository }}:${{ matrix.version }}-latest ghcr.io/${{ github.repository }}:latest + ghcr.io/voxpupuli/puppetserver:${{ matrix.version }}-${{ github.ref_name }} + ghcr.io/voxpupuli/puppetserver:${{ matrix.version }}-latest + ghcr.io/voxpupuli/puppetserver:latest docker.io/${{ github.repository }}:${{ matrix.version }}-${{ github.ref_name }} docker.io/${{ github.repository }}:${{ matrix.version }}-latest docker.io/${{ github.repository }}:latest + docker.io/voxpupuli/puppetserver:${{ matrix.version }}-${{ github.ref_name }} + docker.io/voxpupuli/puppetserver:${{ matrix.version }}-latest + docker.io/voxpupuli/puppetserver:latest - name: Update Docker Hub Description uses: peter-evans/dockerhub-description@v4 From 3718a0e87dda0feee1249458596cfa8ae44bd8cc Mon Sep 17 00:00:00 2001 From: Robert Waffen Date: Fri, 2 Aug 2024 13:21:02 +0200 Subject: [PATCH 2/2] update docker hub description for short names Signed-off-by: Robert Waffen --- .github/workflows/build_docker.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build_docker.yml b/.github/workflows/build_docker.yml index ccf48e8e..b4545916 100644 --- a/.github/workflows/build_docker.yml +++ b/.github/workflows/build_docker.yml @@ -62,3 +62,10 @@ jobs: with: username: voxpupulibot password: ${{ secrets.DOCKERHUB_BOT_PASSWORD }} + + - name: Update Docker Hub Description for shortname + uses: peter-evans/dockerhub-description@v4 + with: + username: voxpupulibot + password: ${{ secrets.DOCKERHUB_BOT_PASSWORD }} + repository: voxpupuli/puppetserver