forked from moveit/moveit2_tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* renamed cartesian limits file (moveit#472) * Tutorial dockerfiles (moveit#463) Build and push docker images for tutorials * fixed clang complaints * removed dockerhub pushes * successfully ran htmlproofer * removed chomp tutorial commits * removed accidental commits * Update CMakeLists.txt * renamed mtc tutorial cpp file * updated cmakelists * updated cmakelists * removed vscode * refactored docker * skipping base image * added conditions on building base image * added conditions on building base image * added conditions on building base image * ran pre commit * Update .docker/Dockerfile Co-authored-by: Robert Haschke <[email protected]> * Update .docker/Dockerfile Co-authored-by: Robert Haschke <[email protected]> * resolved comments * updated location to check for changes * test change to dockerfile * test change to dockerfile * test change to dockerfile * updated scripts to run only when dockerfile changes * fixed syntax * chaged to ros base image * chaged to ros base image * update * removed ccache and change repo names * removed ccache and change repo names Co-authored-by: Henry Moore <[email protected]> Co-authored-by: Robert Haschke <[email protected]>
- Loading branch information
1 parent
4ef6b14
commit 6db22aa
Showing
3 changed files
with
28 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,19 +22,20 @@ jobs: | |
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
since_last_remote_commit: true | ||
- name: Get changed files | ||
id: changed-files | ||
uses: tj-actions/[email protected] | ||
with: | ||
since_last_remote_commit: true | ||
files: | | ||
.docker/Dockerfile | ||
moveit2_tutorials.repos | ||
doc/tutorials/* | ||
- name: Set up Docker Buildx | ||
if: steps.changed-files.outputs.any_changed == 'true' | ||
uses: docker/setup-buildx-action@v2 | ||
- name: Login to Github Container Registry | ||
if: steps.changed-files.outputs.any_changed == 'true' && env.PUSH == 'true' | ||
if: steps.changed-files.outputs.any_changed == 'true' | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ghcr.io | ||
|
@@ -58,3 +59,14 @@ jobs: | |
tags: | | ||
${{ env.GH_IMAGE }} | ||
# ${{ env.DH_IMAGE }} | ||
- name: Build and Push PR Image | ||
uses: docker/build-push-action@v3 | ||
if: steps.changed-files.outputs.any_changed == 'true' && env.PUSH == 'false' && github.event_name == 'pull_request' | ||
with: | ||
file: .docker/Dockerfile | ||
build-args: ROS_DISTRO=${{ matrix.ROS_DISTRO }} | ||
target: base_image | ||
push: true | ||
no-cache: false | ||
tags: | | ||
${{ env.GH_IMAGE }}-PR-${{ github.head_ref }} |
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