Skip to content

Commit

Permalink
Update readme (#6)
Browse files Browse the repository at this point in the history
* build only mujoco image

* fix .github workflow

* correct typos

* minor changes in README.md
  • Loading branch information
mdc1314 authored May 15, 2024
1 parent b551ae5 commit f29ebb9
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 289 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,6 @@ jobs:
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Checkout
uses: actions/checkout@v3
- name: Download third party
run: sh docker/download_thirdparty.sh
- name: Build the Docker image
run: |
BRANCH=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
DOCKER_TAG= echo "$BRANCH" | sed 's#/#_#g'
docker build -f docker/Dockerfile -t ocrtoc/ocrtoc2024:latest .
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Push Dockerhub
run: |
docker push ocrtoc/ocrtoc2024:latest
- name: Build the Docker image for Mujoco
run: |
BRANCH=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
Expand All @@ -45,5 +30,6 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Push Dockerhub
if: github.ref == 'refs/heads/master'
run: |
docker push ocrtoc/ocrtoc2024_mujoco:latest
Loading

0 comments on commit f29ebb9

Please sign in to comment.