mirror of
https://github.com/ultralytics/ultralytics
synced 2026-04-21 14:07:18 +00:00
Harden retry behavior in docker and links workflows (#24261)
Some checks failed
CI / GPU (push) Has been cancelled
CI / Tests (ubuntu-latest, 3.8, 1.8.0, 0.9.0) (push) Has been cancelled
CI / Benchmarks (yolo26n, ubuntu-24.04-arm, 3.12) (push) Has been cancelled
CI / Benchmarks (yolo26n, ubuntu-latest, 3.12) (push) Has been cancelled
CI / Tests (macos-26, 3.12, latest) (push) Has been cancelled
CI / Tests (ubuntu-24.04-arm, 3.12, latest) (push) Has been cancelled
CI / Benchmarks (yolo26n, macos-26, 3.12) (push) Has been cancelled
CI / Tests (ubuntu-latest, 3.12, latest) (push) Has been cancelled
CI / Tests (windows-latest, 3.12, latest) (push) Has been cancelled
CI / SlowTests (macos-26, 3.12, latest) (push) Has been cancelled
CI / SlowTests (ubuntu-24.04-arm, 3.12, latest) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.10, 1.11.0, 0.12.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.10, 1.12.0, 0.13.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.10, 1.13.0, 0.14.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.11, 2.0.0, 0.15.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.11, 2.1.0, 0.16.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.12, 2.10.0, 0.25.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.12, 2.11.0, 0.26.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.12, 2.2.0, 0.17.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.12, 2.3.0, 0.18.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.12, 2.4.0, 0.19.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.12, 2.5.0, 0.20.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.12, 2.6.0, 0.21.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.12, 2.7.0, 0.22.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.12, 2.8.0, 0.23.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.12, 2.9.0, 0.24.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.12, latest) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.8, 1.8.0, 0.9.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.9, 1.10.0, 0.11.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.9, 1.9.0, 0.10.0) (push) Has been cancelled
CI / SlowTests (windows-latest, 3.12, latest) (push) Has been cancelled
CI / RaspberryPi (push) Has been cancelled
CI / NVIDIA_Jetson (JetPack5.1.2, 1.23.5, https://github.com/ultralytics/assets/releases/download/v0.0.0/onnxruntime_gpu-1.16.3-cp38-cp38-linux_aarch64.whl, 3.8, jetson-jp512, https://github.com/ultralytics/assets/releases/download/v0.0.0/torch-2.2.0-cp38-c… (push) Has been cancelled
CI / NVIDIA_Jetson (JetPack6.2, 1.26.4, https://github.com/ultralytics/assets/releases/download/v0.0.0/onnxruntime_gpu-1.20.0-cp310-cp310-linux_aarch64.whl, 3.10, jetson-jp62, https://github.com/ultralytics/assets/releases/download/v0.0.0/torch-2.5.0a0+872d… (push) Has been cancelled
CI / Conda (ubuntu-latest, 3.12) (push) Has been cancelled
CI / Summary (push) Has been cancelled
Publish Docker Images / notify (push) Has been cancelled
Publish Docker Images / Build (push) Has been cancelled
Publish Docker Images / trigger-actions (push) Has been cancelled
Publish Docs / Docs (push) Has been cancelled
Publish to PyPI / check (push) Has been cancelled
Publish to PyPI / build (push) Has been cancelled
Publish to PyPI / publish (push) Has been cancelled
Publish to PyPI / sbom (push) Has been cancelled
Publish to PyPI / notify (push) Has been cancelled
Some checks failed
CI / GPU (push) Has been cancelled
CI / Tests (ubuntu-latest, 3.8, 1.8.0, 0.9.0) (push) Has been cancelled
CI / Benchmarks (yolo26n, ubuntu-24.04-arm, 3.12) (push) Has been cancelled
CI / Benchmarks (yolo26n, ubuntu-latest, 3.12) (push) Has been cancelled
CI / Tests (macos-26, 3.12, latest) (push) Has been cancelled
CI / Tests (ubuntu-24.04-arm, 3.12, latest) (push) Has been cancelled
CI / Benchmarks (yolo26n, macos-26, 3.12) (push) Has been cancelled
CI / Tests (ubuntu-latest, 3.12, latest) (push) Has been cancelled
CI / Tests (windows-latest, 3.12, latest) (push) Has been cancelled
CI / SlowTests (macos-26, 3.12, latest) (push) Has been cancelled
CI / SlowTests (ubuntu-24.04-arm, 3.12, latest) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.10, 1.11.0, 0.12.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.10, 1.12.0, 0.13.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.10, 1.13.0, 0.14.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.11, 2.0.0, 0.15.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.11, 2.1.0, 0.16.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.12, 2.10.0, 0.25.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.12, 2.11.0, 0.26.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.12, 2.2.0, 0.17.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.12, 2.3.0, 0.18.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.12, 2.4.0, 0.19.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.12, 2.5.0, 0.20.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.12, 2.6.0, 0.21.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.12, 2.7.0, 0.22.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.12, 2.8.0, 0.23.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.12, 2.9.0, 0.24.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.12, latest) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.8, 1.8.0, 0.9.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.9, 1.10.0, 0.11.0) (push) Has been cancelled
CI / SlowTests (ubuntu-latest, 3.9, 1.9.0, 0.10.0) (push) Has been cancelled
CI / SlowTests (windows-latest, 3.12, latest) (push) Has been cancelled
CI / RaspberryPi (push) Has been cancelled
CI / NVIDIA_Jetson (JetPack5.1.2, 1.23.5, https://github.com/ultralytics/assets/releases/download/v0.0.0/onnxruntime_gpu-1.16.3-cp38-cp38-linux_aarch64.whl, 3.8, jetson-jp512, https://github.com/ultralytics/assets/releases/download/v0.0.0/torch-2.2.0-cp38-c… (push) Has been cancelled
CI / NVIDIA_Jetson (JetPack6.2, 1.26.4, https://github.com/ultralytics/assets/releases/download/v0.0.0/onnxruntime_gpu-1.20.0-cp310-cp310-linux_aarch64.whl, 3.10, jetson-jp62, https://github.com/ultralytics/assets/releases/download/v0.0.0/torch-2.5.0a0+872d… (push) Has been cancelled
CI / Conda (ubuntu-latest, 3.12) (push) Has been cancelled
CI / Summary (push) Has been cancelled
Publish Docker Images / notify (push) Has been cancelled
Publish Docker Images / Build (push) Has been cancelled
Publish Docker Images / trigger-actions (push) Has been cancelled
Publish Docs / Docs (push) Has been cancelled
Publish to PyPI / check (push) Has been cancelled
Publish to PyPI / build (push) Has been cancelled
Publish to PyPI / publish (push) Has been cancelled
Publish to PyPI / sbom (push) Has been cancelled
Publish to PyPI / notify (push) Has been cancelled
This commit is contained in:
parent
4912cff3b6
commit
f4d0fda2cb
2 changed files with 31 additions and 11 deletions
40
.github/workflows/docker.yml
vendored
40
.github/workflows/docker.yml
vendored
|
|
@ -118,24 +118,42 @@ jobs:
|
|||
uses: docker/setup-buildx-action@v4
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v4
|
||||
uses: ultralytics/actions/retry@main
|
||||
env:
|
||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
run: |
|
||||
if ! out=$(printf '%s' "$DOCKERHUB_TOKEN" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin 2>&1); then
|
||||
printf '%s\n' "$out" >&2
|
||||
exit 1
|
||||
fi
|
||||
echo "Logged in to docker.io"
|
||||
|
||||
- name: Login to GHCR
|
||||
uses: docker/login-action@v4
|
||||
uses: ultralytics/actions/retry@main
|
||||
env:
|
||||
GHCR_USERNAME: ${{ github.repository_owner }}
|
||||
GHCR_TOKEN: ${{ secrets._GITHUB_TOKEN }}
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets._GITHUB_TOKEN }}
|
||||
run: |
|
||||
if ! out=$(printf '%s' "$GHCR_TOKEN" | docker login ghcr.io -u "$GHCR_USERNAME" --password-stdin 2>&1); then
|
||||
printf '%s\n' "$out" >&2
|
||||
exit 1
|
||||
fi
|
||||
echo "Logged in to ghcr.io"
|
||||
|
||||
- name: Login to NVIDIA NGC
|
||||
uses: docker/login-action@v4
|
||||
uses: ultralytics/actions/retry@main
|
||||
env:
|
||||
NVIDIA_NGC_API_KEY: ${{ secrets.NVIDIA_NGC_API_KEY }}
|
||||
with:
|
||||
registry: nvcr.io
|
||||
username: $oauthtoken
|
||||
password: ${{ secrets.NVIDIA_NGC_API_KEY }}
|
||||
run: |
|
||||
if ! out=$(printf '%s' "$NVIDIA_NGC_API_KEY" | docker login nvcr.io -u '$oauthtoken' --password-stdin 2>&1); then
|
||||
printf '%s\n' "$out" >&2
|
||||
exit 1
|
||||
fi
|
||||
echo "Logged in to nvcr.io"
|
||||
|
||||
- name: Retrieve Ultralytics version
|
||||
id: get_version
|
||||
|
|
|
|||
2
.github/workflows/links.yml
vendored
2
.github/workflows/links.yml
vendored
|
|
@ -35,6 +35,7 @@ jobs:
|
|||
timeout_minutes: 60
|
||||
retry_delay_seconds: 1800
|
||||
retries: 2
|
||||
backoff: fixed
|
||||
run: |
|
||||
lychee \
|
||||
--scheme https \
|
||||
|
|
@ -70,6 +71,7 @@ jobs:
|
|||
timeout_minutes: 60
|
||||
retry_delay_seconds: 1800
|
||||
retries: 2
|
||||
backoff: fixed
|
||||
run: |
|
||||
lychee \
|
||||
--scheme https \
|
||||
|
|
|
|||
Loading…
Reference in a new issue