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