Skip to content

Commit

Permalink
Rebuild minimal-rmf images
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Chong <[email protected]>
  • Loading branch information
aaronchongth committed Feb 21, 2025
1 parent b20f320 commit e04eb9a
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 57 deletions.
4 changes: 2 additions & 2 deletions .github/minimal-rmf/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG BASE_IMAGE=docker.io/ros:jazzy-ros-base
ARG ROS_DISTRO=jazzy
ARG BASE_IMAGE=docker.io/ros:$ROS_DISTRO-ros-base
FROM $BASE_IMAGE
ARG BRANCH=main
ARG ROS_DISTRO=jazzy

### build minimal rmf

Expand Down
111 changes: 56 additions & 55 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Nightly
on:
schedule:
# 2am SGT
- cron: '0 18 * * *'
# on:
# schedule:
# # 2am SGT
# - cron: '0 18 * * *'
on: push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down Expand Up @@ -32,57 +33,57 @@ jobs:
ROS_DISTRO=${{ matrix.ros_distribution }}
tags: ghcr.io/${{ github.repository }}/minimal-rmf:${{ matrix.ros_distribution }}-nightly
context: .github/minimal-rmf
build-dashboard-image:
needs: build-minimal-rmf-docker-images
name: Push Dashboard docker image to GitHub Packages
runs-on: ubuntu-24.04
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 demo-dashboard
uses: docker/build-push-action@v5
with:
push: true
build-args: |
BASE_IMAGE=ghcr.io/${{ github.repository }}/minimal-rmf:rolling
tags: ghcr.io/${{ github.repository }}/demo-dashboard:latest
context: .github/demo-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:
fail-fast: false
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: |
ROS_DISTRO=${{ matrix.ros_distribution }}
BASE_IMAGE=ghcr.io/${{ github.repository }}/minimal-rmf:${{ matrix.ros_distribution }}-nightly
tags: |
ghcr.io/${{ github.repository }}/api-server:${{ matrix.ros_distribution }}-nightly
${{ matrix.ros_distribution == 'jazzy' && format('ghcr.io/{0}/api-server:latest', github.repository) || null}}
context: .github/api-server
# build-dashboard-image:
# needs: build-minimal-rmf-docker-images
# name: Push Dashboard docker image to GitHub Packages
# runs-on: ubuntu-24.04
# 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 demo-dashboard
# uses: docker/build-push-action@v5
# with:
# push: true
# build-args: |
# BASE_IMAGE=ghcr.io/${{ github.repository }}/minimal-rmf:rolling
# tags: ghcr.io/${{ github.repository }}/demo-dashboard:latest
# context: .github/demo-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:
# fail-fast: false
# 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: |
# ROS_DISTRO=${{ matrix.ros_distribution }}
# BASE_IMAGE=ghcr.io/${{ github.repository }}/minimal-rmf:${{ matrix.ros_distribution }}-nightly
# tags: |
# ghcr.io/${{ github.repository }}/api-server:${{ matrix.ros_distribution }}-nightly
# ${{ matrix.ros_distribution == 'jazzy' && format('ghcr.io/{0}/api-server:latest', github.repository) || null}}
# context: .github/api-server
# dashboard-e2e:
# strategy:
# matrix:
Expand Down

0 comments on commit e04eb9a

Please sign in to comment.