From a7772bb17fdd8a4cc288d02c0d625563a8e659c3 Mon Sep 17 00:00:00 2001 From: Shiming Zhang Date: Sat, 8 Feb 2025 22:51:44 +0800 Subject: [PATCH] Update sync-image.yml --- .github/workflows/sync-image.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/sync-image.yml b/.github/workflows/sync-image.yml index a06457e..3879efb 100644 --- a/.github/workflows/sync-image.yml +++ b/.github/workflows/sync-image.yml @@ -45,6 +45,9 @@ jobs: gh issue close ${{ github.event.issue.number }} --reason "not planned" exit 1 fi + if [[ "${ORIGIN_IMAGE}" =~ ^docker.io/ ]]; then + ORIGIN_IMAGE="registry-1.${ORIGIN_IMAGE}" + fi echo "image=${ORIGIN_IMAGE}" >> $GITHUB_OUTPUT - name: Set up crproxy