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)