Skip to content

Commit

Permalink
added jazzy
Browse files Browse the repository at this point in the history
  • Loading branch information
Heitz Robin committed Aug 20, 2024
1 parent a313c9e commit a5297b3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
name: Docker Image CI for ros2 Humble
name: Docker Image CI for ros2 jazzy

on:
push:
branches:
- main
- jazzy

jobs:
build_and_publish_humble:
build_and_publish_jazzy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build and push the image
run: |
run: |
docker login --username robinheitz --password ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} ghcr.io
docker build . -f humble.Dockerfile --tag ghcr.io/robinheitz/ros:humble
docker push ghcr.io/robinheitz/ros:humble
docker build . -f Dockerfile --tag ghcr.io/robinheitz/ros:jazzy
docker push ghcr.io/robinheitz/ros:jazzy
4 changes: 3 additions & 1 deletion humble.Dockerfile → Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
ARG ROS_DISTRO=humble
ARG ROS_DISTRO=jazzy

FROM ros:${ROS_DISTRO}

RUN userdel -r ubuntu

ARG ROS_WS=ros_ws

RUN apt-get -qq update && apt-get -qq upgrade -y && apt-get install -y \
Expand Down

0 comments on commit a5297b3

Please sign in to comment.