Skip to content

Commit

Permalink
jazzy docker build and push CI added
Browse files Browse the repository at this point in the history
  • Loading branch information
mgonzs13 committed Nov 18, 2024
1 parent 252df23 commit f26cfe0
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/humble-docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push
- name: Build docker
uses: docker/build-push-action@v6
with:
build-args: ROS_DISTRO=humble
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/humble-docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
- name: Build and push docker
uses: docker/build-push-action@v6
with:
build-args: ROS_DISTRO=humble
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/jazzy-docker-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Jazzy Docker Build

on: [push, pull_request]

jobs:
jazzy_docker_build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build docker
uses: docker/build-push-action@v6
with:
build-args: ROS_DISTRO=jazzy
push: false
29 changes: 29 additions & 0 deletions .github/workflows/jazzy-docker-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Jazzy Docker Push

on:
push:
branches: [main]
workflow_dispatch:

jobs:
jazzy_docker_push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push docker
uses: docker/build-push-action@v6
with:
build-args: ROS_DISTRO=jazzy
push: true
tags: mgons/llama_ros:jazzy
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ This repository provides a set of ROS 2 packages to integrate [llama.cpp](https:
| ROS 2 Distro | Branch | Build status | Docker Image | Documentation |
| :----------: | :-------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------: | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Humble** | [`main`](https://github.com/mgonzs13/llama_ros/tree/main) | [![Humble Build](https://github.com/mgonzs13/llama_ros/actions/workflows/humble-docker-build.yml/badge.svg?branch=main)](https://github.com/mgonzs13/llama_ros/actions/workflows/humble-docker-build.yml?branch=main) | [![Docker Image](https://img.shields.io/badge/Docker%20Image%20-humble-blue)](https://hub.docker.com/r/mgons/llama_ros/tags?name=humble) | [![Doxygen Deployment](https://github.com/mgonzs13/llama_ros/actions/workflows/doxygen-deployment.yml/badge.svg)](https://mgonzs13.github.io/llama_ros/) |
| **Jazzy** | [`main`](https://github.com/mgonzs13/llama_ros/tree/main) | [![Jazzy Build](https://github.com/mgonzs13/llama_ros/actions/workflows/jazzy-docker-build.yml/badge.svg?branch=main)](https://github.com/mgonzs13/llama_ros/actions/workflows/jazzy-docker-build.yml?branch=main) | [![Docker Image](https://img.shields.io/badge/Docker%20Image%20-jazzy-blue)](https://hub.docker.com/r/mgons/llama_ros/tags?name=jazzy) | [![Doxygen Deployment](https://github.com/mgonzs13/llama_ros/actions/workflows/doxygen-deployment.yml/badge.svg)](https://mgonzs13.github.io/llama_ros/) |

</div>

Expand Down

0 comments on commit f26cfe0

Please sign in to comment.