Skip to content

Commit

Permalink
Set build arg for continuous integration
Browse files Browse the repository at this point in the history
  • Loading branch information
ruffsl committed Jun 19, 2021
1 parent ac2a64b commit e07d23e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/update_ci_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ jobs:
cache-from: type=registry,ref=ghcr.io/ros-planning/navigation2:main
cache-to: type=inline
target: builder
build-args: |
FROM_STAGE=integration
tags: |
ghcr.io/ros-planning/navigation2:main
ghcr.io/ros-planning/navigation2:main-${{ steps.config.outputs.timestamp }}
Expand Down
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ ARG OVERLAY_WS=/opt/overlay_ws
# multi-stage for development
FROM $FROM_IMAGE AS development

# multi-stage for testing
# https://github.com/dependabot/dependabot-core/issues/2057
FROM osrf/ros2:testing-20210605003201 AS testing
# multi-stage for integration
FROM osrf/ros2:testing-20210605003201 AS integration

# multi-stage for caching
FROM $FROM_STAGE AS cacher
Expand Down

0 comments on commit e07d23e

Please sign in to comment.