From 939000fbe4e6af6599e198b1c095a4279d439c6c Mon Sep 17 00:00:00 2001 From: 0xsysr3ll <31414959+0xSysR3ll@users.noreply.github.com> Date: Fri, 14 Nov 2025 16:36:38 +0100 Subject: [PATCH] ci: update Docker Hub image references in CI workflows (#2153) Signed-off-by: 0xsysr3ll <0xsysr3ll@pm.me> --- .github/workflows/ci.yml | 5 ++++- .github/workflows/preview.yml | 5 ++++- .github/workflows/release.yml | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5df2185ed..6a49ea094 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,9 @@ on: permissions: contents: read +env: + DOCKER_HUB: seerr/seerr + concurrency: group: ci-${{ github.ref }} cancel-in-progress: true @@ -140,7 +143,7 @@ jobs: uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0 with: images: | - ${{ github.repository }} + ${{ env.DOCKER_HUB }} ghcr.io/${{ github.repository }} tags: | type=raw,value=develop diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index edaac172a..b664aad36 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -11,6 +11,9 @@ on: permissions: contents: read +env: + DOCKER_HUB: seerr/seerr + concurrency: group: preview-${{ github.ref }} cancel-in-progress: true @@ -115,7 +118,7 @@ jobs: uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0 with: images: | - ${{ github.repository }} + ${{ env.DOCKER_HUB }} ghcr.io/${{ github.repository }} tags: | type=raw,value=preview-${{ steps.ver.outputs.version }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 47f3ddc17..35ff2903d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -144,7 +144,7 @@ jobs: uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0 with: images: | - ${{ github.repository }} + ${{ env.DOCKER_HUB }} ghcr.io/${{ github.repository }} tags: | type=raw,value=${{ env.VERSION }} @@ -173,7 +173,7 @@ jobs: - name: Resolve manifest digest id: digests run: | - DIGEST=$(docker buildx imagetools inspect "${{ github.repository }}:${{ env.VERSION }}" --format '{{json .Manifest.Digest}}' | tr -d '"') + DIGEST=$(docker buildx imagetools inspect "${{ env.DOCKER_HUB }}:${{ env.VERSION }}" --format '{{json .Manifest.Digest}}' | tr -d '"') echo "IMAGE_DIGEST=$DIGEST" >> $GITHUB_OUTPUT - name: Also tag :latest (non-pre-release only)