mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-16 09:09:48 +00:00
fix(ci): simplify Docker Hub login to match existing workflows
Drop the conditional guard — other workflows (docker_publish, full_tests) call docker/login-action unconditionally. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -83,12 +83,7 @@ jobs:
|
||||
with:
|
||||
cache-binary: false
|
||||
|
||||
# Authenticate to Docker Hub to avoid anonymous pull rate limits
|
||||
# (100 pulls/6h anonymous vs 200 pulls/6h authenticated).
|
||||
- name: Login to Docker Hub
|
||||
if: env.DOCKERHUB_LEROBOT_USERNAME != ''
|
||||
env:
|
||||
DOCKERHUB_LEROBOT_USERNAME: ${{ secrets.DOCKERHUB_LEROBOT_USERNAME }}
|
||||
uses: docker/login-action@v3 # zizmor: ignore[unpinned-uses]
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_LEROBOT_USERNAME }}
|
||||
|
||||
Reference in New Issue
Block a user