Skip to content

Update ci_ros2_humble.yaml #16

Update ci_ros2_humble.yaml

Update ci_ros2_humble.yaml #16

name: Deploy Opensource Image to GHCR
on:
push:
branches: [ "ros2_humble" ]
pull_request:
branches: [ "ros2_humble" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Checkout GitHub Action"
uses: actions/checkout@v3
- name: "Login to GitHub Container Registry"
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: "Build the Docker image"
run: |
mkdir src
echo "jupyterlab" > requirements.txt
docker build . --file .github/workflows/Dockerfile.ros2_humble --tag ghcr.io/simonschwaiger/ros-ml-container:ros2_humble
docker push ghcr.io/simonschwaiger/ros-ml-container:ros2_humble