Update sync-image.yml

This commit is contained in:
Shiming Zhang 2025-02-08 22:51:44 +08:00 committed by GitHub
parent 90046c09cb
commit a7772bb17f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -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