Skip to content

Commit

Permalink
Run with new entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
aliberts committed Apr 24, 2024
1 parent 7aaa362 commit ea70097
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build_docker_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
name: Build Docker images (scheduled)

on:
pull_request: # TODO(aliberts): for testing, delete before merge
branches:
- main
# pull_request: # TODO(aliberts): for testing, delete before merge
# branches:
# - main
workflow_dispatch:
workflow_call:
schedule:
Expand Down Expand Up @@ -60,17 +60,16 @@ jobs:
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USER_CUSTOM }}
password: ${{ secrets.DOCKERHUB_PASSWORD_CUSTOM }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Build and Push CPU
uses: docker/build-push-action@v5
with:
context: .
file: ./docker/lerobot-cpu/Dockerfile
push: true
# tags: huggingface/lerobot-cpu
tags: ${{ secrets.DOCKERHUB_REGISTRY_CUSTOM }}
tags: huggingface/lerobot-cpu

# - name: Post to a Slack channel
# id: slack
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nightly-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
name: Self-hosted runner with slow tests (scheduled)

on:
# pull_request: # TODO(aliberts): for testing, delete before merge
# branches:
# - main
pull_request: # TODO(aliberts): for testing, delete before merge
branches:
- main
workflow_dispatch:
schedule:
- cron: "0 2 * * *"
Expand Down
2 changes: 1 addition & 1 deletion docker/lerobot-gpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
pkg-config \
libhdf5-dev \
libegl1-mesa-dev \
libglu1-mesa-dev libosmesa6-dev xvfb patchelf ffmpeg cmake swig \
libglu1-mesa-dev libosmesa6-dev xvfb patchelf ffmpeg swig \
&& apt-get clean && rm -rf /var/lib/apt/lists/*


Expand Down

0 comments on commit ea70097

Please sign in to comment.