ci: update Docker Hub image references in CI workflows (#2153)

Signed-off-by: 0xsysr3ll <0xsysr3ll@pm.me>
This commit is contained in:
0xsysr3ll
2025-11-14 16:36:38 +01:00
committed by GitHub
parent 08800c7cf3
commit 939000fbe4
3 changed files with 10 additions and 4 deletions

View File

@@ -14,6 +14,9 @@ on:
permissions: permissions:
contents: read contents: read
env:
DOCKER_HUB: seerr/seerr
concurrency: concurrency:
group: ci-${{ github.ref }} group: ci-${{ github.ref }}
cancel-in-progress: true cancel-in-progress: true
@@ -140,7 +143,7 @@ jobs:
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0 uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
with: with:
images: | images: |
${{ github.repository }} ${{ env.DOCKER_HUB }}
ghcr.io/${{ github.repository }} ghcr.io/${{ github.repository }}
tags: | tags: |
type=raw,value=develop type=raw,value=develop

View File

@@ -11,6 +11,9 @@ on:
permissions: permissions:
contents: read contents: read
env:
DOCKER_HUB: seerr/seerr
concurrency: concurrency:
group: preview-${{ github.ref }} group: preview-${{ github.ref }}
cancel-in-progress: true cancel-in-progress: true
@@ -115,7 +118,7 @@ jobs:
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0 uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
with: with:
images: | images: |
${{ github.repository }} ${{ env.DOCKER_HUB }}
ghcr.io/${{ github.repository }} ghcr.io/${{ github.repository }}
tags: | tags: |
type=raw,value=preview-${{ steps.ver.outputs.version }} type=raw,value=preview-${{ steps.ver.outputs.version }}

View File

@@ -144,7 +144,7 @@ jobs:
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0 uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
with: with:
images: | images: |
${{ github.repository }} ${{ env.DOCKER_HUB }}
ghcr.io/${{ github.repository }} ghcr.io/${{ github.repository }}
tags: | tags: |
type=raw,value=${{ env.VERSION }} type=raw,value=${{ env.VERSION }}
@@ -173,7 +173,7 @@ jobs:
- name: Resolve manifest digest - name: Resolve manifest digest
id: digests id: digests
run: | 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 echo "IMAGE_DIGEST=$DIGEST" >> $GITHUB_OUTPUT
- name: Also tag :latest (non-pre-release only) - name: Also tag :latest (non-pre-release only)