Skip to content

Commit

Permalink
explicitly use version in readme examples
Browse files Browse the repository at this point in the history
  • Loading branch information
lreiher committed Jun 10, 2023
1 parent 0822950 commit c214df9
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,12 @@ Note that GitLab is currently only offering Linux runners based on the *amd64* a
<details open><summary>GitHub</summary>

```yml
on: push
jobs:
docker-ros:
runs-on: ubuntu-latest
steps:
- uses: ika-rwth-aachen/docker-ros@main
- uses: ika-rwth-aachen/docker-ros@v1.0.0
with:
base-image: rwthika/ros2:humble
command: ros2 run my_pkg my_node
Expand All @@ -107,7 +108,7 @@ jobs:
```yml
include:
- remote: https://raw.githubusercontent.com/ika-rwth-aachen/docker-ros/main/.gitlab-ci/docker-ros.yml
- remote: https://raw.githubusercontent.com/ika-rwth-aachen/docker-ros/v1.0.0/.gitlab-ci/docker-ros.yml

variables:
BASE_IMAGE: rwthika/ros2:humble
Expand All @@ -121,11 +122,12 @@ variables:
<details><summary>GitHub</summary>
```yml
on: push
jobs:
docker-ros:
runs-on: ubuntu-latest
steps:
- uses: ika-rwth-aachen/docker-ros@main
- uses: ika-rwth-aachen/docker-ros@v1.0.0
with:
base-image: rwthika/ros2:humble
command: ros2 run my_pkg my_node
Expand All @@ -138,7 +140,7 @@ jobs:
```yml
include:
- remote: https://raw.githubusercontent.com/ika-rwth-aachen/docker-ros/main/.gitlab-ci/docker-ros.yml
- remote: https://raw.githubusercontent.com/ika-rwth-aachen/docker-ros/v1.0.0/.gitlab-ci/docker-ros.yml

variables:
BASE_IMAGE: rwthika/ros2:humble
Expand All @@ -153,11 +155,12 @@ variables:
<details><summary>GitHub</summary>
```yml
on: push
jobs:
docker-ros:
runs-on: ubuntu-latest
steps:
- uses: ika-rwth-aachen/docker-ros@main
- uses: ika-rwth-aachen/docker-ros@v1.0.0
with:
base-image: rwthika/ros2:humble
command: ros2 run my_pkg my_node
Expand All @@ -171,7 +174,7 @@ jobs:
```yml
include:
- remote: https://raw.githubusercontent.com/ika-rwth-aachen/docker-ros/main/.gitlab-ci/docker-ros.yml
- remote: https://raw.githubusercontent.com/ika-rwth-aachen/docker-ros/v1.0.0/.gitlab-ci/docker-ros.yml

variables:
BASE_IMAGE: rwthika/ros2:humble
Expand All @@ -187,11 +190,12 @@ variables:
<details><summary>GitHub</summary>
```yml
on: push
jobs:
docker-ros:
runs-on: ubuntu-latest
steps:
- uses: ika-rwth-aachen/docker-ros@main
- uses: ika-rwth-aachen/docker-ros@v1.0.0
with:
base-image: rwthika/ros2:humble
command: ros2 run my_pkg my_node
Expand All @@ -204,7 +208,7 @@ jobs:
```yml
include:
- remote: https://raw.githubusercontent.com/ika-rwth-aachen/docker-ros/main/.gitlab-ci/docker-ros.yml
- remote: https://raw.githubusercontent.com/ika-rwth-aachen/docker-ros/v1.0.0/.gitlab-ci/docker-ros.yml

variables:
BASE_IMAGE: rwthika/ros2:humble
Expand All @@ -219,6 +223,7 @@ variables:
<details><summary>GitHub</summary>
```yml
on: push
jobs:
docker-ros:
strategy:
Expand All @@ -227,7 +232,7 @@ jobs:
platform: [amd64, arm64]
runs-on: [self-hosted, "${{ matrix.platform }}"]
steps:
- uses: ika-rwth-aachen/docker-ros@main
- uses: ika-rwth-aachen/docker-ros@v1.0.0
with:
base-image: rwthika/ros2:humble
command: ros2 run my_pkg my_node
Expand Down

0 comments on commit c214df9

Please sign in to comment.