Skip to content

Commit

Permalink
Minor changes (#170)
Browse files Browse the repository at this point in the history
* Update default alpine version in README to 3.17
* CI: update actions/checkout to v4
* CI: update docker/login-action to v3
  • Loading branch information
f-fl0 authored Jul 5, 2024
1 parent fd47dc0 commit f5a69d8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- ALPINE_VERSION=3.20 ROS_DISTRO=noetic ROS_DISTRIBUTION_TYPE=ros1
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build image
run: |
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Login to GitHub Container Registry
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ Alpine Linux package builder for ROS (Robot Operating System)
## Build builder container

```shell
docker pull ghcr.io/alpine-ros/ros-abuild:3.14-noetic
docker pull ghcr.io/alpine-ros/ros-abuild:3.17-noetic
```

or build locally

```shell
docker build \
--build-arg ROS_DISTRO=noetic \
--build-arg ALPINE_VERSION=3.14 \
--build-arg ALPINE_VERSION=3.17 \
--build-arg ROS_PYTHON_VERSION=3 \
-t ghcr.io/alpine-ros/ros-abuild:3.14-noetic .
-t ghcr.io/alpine-ros/ros-abuild:3.17-noetic .
```

## Build ROS package(s)
Expand All @@ -26,7 +26,7 @@ Run following command at the root of the ROS package repository:
```shell
docker run -it --rm \
-v $(pwd):/src:ro \
ghcr.io/alpine-ros/ros-abuild:3.14-noetic
ghcr.io/alpine-ros/ros-abuild:3.17-noetic
```
(`$(pwd)` can be replaced by a full path to the ROS package repository.)

Expand All @@ -44,7 +44,7 @@ Build and output generated packages to the directory.
docker run -it --rm \
-v $(pwd):/src:ro \
-v /path/to/your/packages:/packages \
ghcr.io/alpine-ros/ros-abuild:3.14-noetic
ghcr.io/alpine-ros/ros-abuild:3.17-noetic
```

### Build with cache
Expand All @@ -66,5 +66,5 @@ docker run -it --rm \
-v ros-abuild-ccache:/ccache \
-e SKIP_ROSDEP_UPDATE=yes \
-e ENABLE_CCACHE=yes \
ghcr.io/alpine-ros/ros-abuild:3.14-noetic
ghcr.io/alpine-ros/ros-abuild:3.17-noetic
```

0 comments on commit f5a69d8

Please sign in to comment.