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

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