generated from LCAS/ros2-teaching-ws
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding dockefile image with mycobot280 and auto push into registry ac…
…tion
- Loading branch information
1 parent
4e8f9af
commit c261d72
Showing
93 changed files
with
70 additions
and
4,838 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM lcas.lincoln.ac.uk/lcas/devcontainer/ros2-teaching:2324-devel | ||
|
||
# Install additional ROS 2 packages | ||
RUN DEBIAN_FRONTEND=noninteractive apt update && \ | ||
apt install -y \ | ||
python3-argcomplete \ | ||
python3-colcon-common-extensions \ | ||
ros-humble-joint-state-publisher-gui \ | ||
ros-humble-moveit | ||
|
||
RUN DEBIAN_FRONTEND=noninteractive pip install pymycobot --upgrade | ||
|
||
# Install mycobot_ros2 | ||
RUN . /opt/ros/humble/setup.sh && \ | ||
cd /opt/ros/lcas/src/ && \ | ||
git clone --depth 1 https://github.com/elephantrobotics/mycobot_ros2.git && \ | ||
cd .. && colcon build && \ | ||
rm -rf /opt/ros/lcas/src/ /opt/ros/lcas/build/ /opt/ros/lcas/log/ | ||
|
||
WORKDIR /home/lcas/ws |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Docker Image CI | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ "main" ] | ||
paths: ['.docker/Dockerfile'] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Docker Login LCAS | ||
# You may pin to the exact commit or the version. | ||
# uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 | ||
uses: docker/login-action@v3 | ||
with: | ||
# Server address of Docker registry. If not set then will default to Docker Hub | ||
registry: lcas.lincoln.ac.uk | ||
# Username used to log against the Docker registry | ||
username: ${{ secrets.LCAS_REGISTRY_PUSHER }} | ||
# Password or personal access token used to log against the Docker registry | ||
password: ${{ secrets.LCAS_REGISTRY_TOKEN }} | ||
- name: Get PR labels | ||
id: pr-labels | ||
uses: joerick/[email protected] | ||
- name: Debug echo | ||
run: echo "github.head_ref is ${{ github.head_ref }}, steps.pr-labels.outputs.labels is ${{ steps.pr-labels.outputs.labels }} ${{ contains(steps.pr-labels.outputs.labels, ' docker-build ') }}, github.event.label.name is ${{ github.event.label.name }} and github.event_name is ${{ github.event_name }}" | ||
- name: Build and push humble | ||
if: ${{ github.event_name != 'pull_request' }} | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: . | ||
file: ./.docker/Dockerfile | ||
platforms: linux/amd64 | ||
push: true | ||
tags: lcas.lincoln.ac.uk/lcas/devcontainer/ros2-teaching-rbt1001:latest | ||
build-args: | | ||
UID=1001 | ||
GID=1001 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
src/fanuc_cr7ia_moveit_config/launch/default_warehouse_db.launch
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.