Skip to content

add rgbd camera bridge support but i have to change network #98

add rgbd camera bridge support but i have to change network

add rgbd camera bridge support but i have to change network #98

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
Registery: docker.io
ImageName: alienkh/px4_sim
ImageTag: 1.15.1_${{ github.run_number }}
jobs:
build_and_push_docker_image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
steps:
- name: setup Docker buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: ${{ env.Registery }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push docker image for not using GPU
id: build-and-push-NoGPU
uses: docker/build-push-action@v2
with:
push: true
tags: ${{ env.Registery }}/${{ env.ImageName }}:${{ env.ImageTag }}
file: ./dockerFile/Dockerfile_px4_sim_NO_GPU
build_and_push_docker_image_GPU_Enabled:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
steps:
- name: setup Docker buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: ${{ env.Registery }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push docker image for using Nvidia GPU
id: build-and-push
uses: docker/build-push-action@v2
with:
push: true
tags: ${{ env.Registery }}/${{ env.ImageName }}:${{ env.ImageTag }}_GPU
file: ./dockerFile/Dockerfile_px4_sim_with_GPU