mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-21 11:39:50 +00:00
fix(ci): use existing DOCKERHUB_LEROBOT_USERNAME/PASSWORD secrets
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -86,11 +86,11 @@ jobs:
|
|||||||
# Authenticate to Docker Hub to avoid anonymous pull rate limits
|
# Authenticate to Docker Hub to avoid anonymous pull rate limits
|
||||||
# (100 pulls/6h anonymous vs 200 pulls/6h authenticated).
|
# (100 pulls/6h anonymous vs 200 pulls/6h authenticated).
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
if: ${{ vars.DOCKERHUB_USERNAME != '' }}
|
if: ${{ secrets.DOCKERHUB_LEROBOT_USERNAME != '' }}
|
||||||
uses: docker/login-action@v3 # zizmor: ignore[unpinned-uses]
|
uses: docker/login-action@v3 # zizmor: ignore[unpinned-uses]
|
||||||
with:
|
with:
|
||||||
username: ${{ vars.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_LEROBOT_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_LEROBOT_PASSWORD }}
|
||||||
|
|
||||||
# Build the benchmark-specific image. Layer cache uses GHA cache (persists
|
# Build the benchmark-specific image. Layer cache uses GHA cache (persists
|
||||||
# across runners). The Dockerfile separates dep-install from source-copy,
|
# across runners). The Dockerfile separates dep-install from source-copy,
|
||||||
@@ -250,11 +250,11 @@ jobs:
|
|||||||
cache-binary: false
|
cache-binary: false
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
if: ${{ vars.DOCKERHUB_USERNAME != '' }}
|
if: ${{ secrets.DOCKERHUB_LEROBOT_USERNAME != '' }}
|
||||||
uses: docker/login-action@v3 # zizmor: ignore[unpinned-uses]
|
uses: docker/login-action@v3 # zizmor: ignore[unpinned-uses]
|
||||||
with:
|
with:
|
||||||
username: ${{ vars.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_LEROBOT_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_LEROBOT_PASSWORD }}
|
||||||
|
|
||||||
- name: Build MetaWorld benchmark image
|
- name: Build MetaWorld benchmark image
|
||||||
uses: docker/build-push-action@v6 # zizmor: ignore[unpinned-uses]
|
uses: docker/build-push-action@v6 # zizmor: ignore[unpinned-uses]
|
||||||
|
|||||||
Reference in New Issue
Block a user