mirror of
https://github.com/DaoCloud/public-image-mirror.git
synced 2025-09-18 17:37:04 +08:00
Update sync-image.yml
This commit is contained in:
3
.github/workflows/sync-image.yml
vendored
3
.github/workflows/sync-image.yml
vendored
@@ -45,6 +45,9 @@ jobs:
|
|||||||
gh issue close ${{ github.event.issue.number }} --reason "not planned"
|
gh issue close ${{ github.event.issue.number }} --reason "not planned"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
if [[ "${ORIGIN_IMAGE}" =~ ^docker.io/ ]]; then
|
||||||
|
ORIGIN_IMAGE="registry-1.${ORIGIN_IMAGE}"
|
||||||
|
fi
|
||||||
echo "image=${ORIGIN_IMAGE}" >> $GITHUB_OUTPUT
|
echo "image=${ORIGIN_IMAGE}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Set up crproxy
|
- name: Set up crproxy
|
||||||
|
Reference in New Issue
Block a user