Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into koonpeng/merge-react-…
Browse files Browse the repository at this point in the history
…components

Signed-off-by: Teo Koon Peng <[email protected]>
  • Loading branch information
koonpeng committed Sep 25, 2024
2 parents 97f5914 + 9f1b3c3 commit 320e889
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 9 deletions.
40 changes: 32 additions & 8 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
build-minimal-rmf-docker-images:
name: Push minimal-rmf Docker image to GitHub Packages
runs-on: ubuntu-24.04
strategy:
matrix:
ros_distribution: [jazzy, rolling]
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
Expand All @@ -24,11 +27,13 @@ jobs:
uses: docker/build-push-action@v5
with:
push: true
tags: ghcr.io/${{ github.repository }}/minimal-rmf
build-args: |
ROS_DISTRO=${{ matrix.ros_distribution }}
tags: ghcr.io/${{ github.repository }}/minimal-rmf:${{ matrix.ros_distribution }}
context: .github/minimal-rmf
build-docker-images:
build-dashboard-image:
needs: build-minimal-rmf-docker-images
name: Push Docker images to GitHub Packages
name: Push Dashboard docker image to GitHub Packages
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
Expand All @@ -44,16 +49,35 @@ jobs:
uses: docker/build-push-action@v5
with:
push: true
tags: ghcr.io/${{ github.repository }}/demo-dashboard
context: .github/demo-dashboard
build-args: |
BASE_IMAGE=ghcr.io/${{ github.repository }}/minimal-rmf:rolling
tags: ghcr.io/${{ github.repository }}/demo-dashboard:latest
context: .github/dashboard
build-api-server-image:
needs: build-minimal-rmf-docker-images
name: Push API server docker image to GitHub Packages
runs-on: ubuntu-24.04
strategy:
matrix:
ros_distribution: [jazzy, rolling]
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to docker
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push api-server
uses: docker/build-push-action@v5
with:
push: true
build-args: |
BASE_IMAGE=ghcr.io/${{ github.repository }}/minimal-rmf:latest
ROS_DISTRO=jazzy
tags: ghcr.io/${{ github.repository }}/api-server
ROS_DISTRO=${{ matrix.ros_distribution }}
BASE_IMAGE=ghcr.io/${{ github.repository }}/minimal-rmf:${{ matrix.ros_distribution }}
tags: ghcr.io/${{ github.repository }}/api-server:${{ matrix.ros_distribution }}
context: .github/api-server
# dashboard-e2e:
# strategy:
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ docker run \
--network host -it --rm \
-e ROS_DOMAIN_ID=<ROS_DOMAIN_ID> \
-e RMW_IMPLEMENTATION=<RMW_IMPLEMENTATION> \
ghcr.io/open-rmf/rmf-web/api-server:latest
ghcr.io/open-rmf/rmf-web/api-server:jazzy

# For ROS 2 Rolling, use ghcr.io/open-rmf/rmf-web/api-server:rolling
```

> **Note**
Expand Down

0 comments on commit 320e889

Please sign in to comment.