mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-28 05:27:35 +00:00
Merge 8878b6163d into b3591e60b1
This commit is contained in:
commit
45fac5127a
1 changed files with 11 additions and 1 deletions
12
.github/workflows/docker.yaml
vendored
12
.github/workflows/docker.yaml
vendored
|
|
@ -403,5 +403,15 @@ jobs:
|
|||
[ -z "$TAG" ] && continue
|
||||
DEST="${DOCKERHUB_IMAGE}:${TAG}"
|
||||
echo " -> ${DEST}"
|
||||
docker buildx imagetools create -t "${DEST}" "${SOURCE}"
|
||||
for ATTEMPT in 1 2 3; do
|
||||
if docker buildx imagetools create -t "${DEST}" "${SOURCE}"; then
|
||||
break
|
||||
fi
|
||||
if [ "${ATTEMPT}" = "3" ]; then
|
||||
echo "Failed to copy ${DEST} after ${ATTEMPT} attempts"
|
||||
exit 1
|
||||
fi
|
||||
echo "Copy attempt ${ATTEMPT} for ${DEST} failed, retrying in 15s..."
|
||||
sleep 15
|
||||
done
|
||||
done <<< "${{ steps.tags.outputs.tags }}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue