Skip to content

Commit

Permalink
put $ROS_DISTRO to image tags, fix main repo in docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
WinstonHChou committed May 24, 2024
1 parent 1cb4944 commit a998838
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .docker_utils/Dockerfile.f1tenth_arm
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,12 @@ RUN cmake --build build
### Create f1tenth workspace
WORKDIR $WORKSPACE

COPY ./ ./
RUN git clone -b foxy_devel https://github.com/Triton-AI/robocar.git && \
mv robocar .. && \
cd .. && \
rm -rf $WORKSPACE && \
mv robocar/ $WORKSPACE && \
cd $WORKSPACE

# Global Planner Dependencies
RUN pip install trajectory_planning_helpers==0.78 \
Expand Down
7 changes: 6 additions & 1 deletion .docker_utils/Dockerfile.f1tenth_x86
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,12 @@ RUN cmake --build build
### Create f1tenth workspace
WORKDIR $WORKSPACE

COPY ./ ./
RUN git clone -b foxy_devel https://github.com/Triton-AI/robocar.git && \
mv robocar .. && \
cd .. && \
rm -rf $WORKSPACE && \
mv robocar/ $WORKSPACE && \
cd $WORKSPACE

# Global Planner Dependencies
RUN pip install trajectory_planning_helpers==0.78 \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ jobs:
id: meta
uses: docker/metadata-action@v5 # 507c2f2dc502c992ad446e3d7a5dfbe311567a96
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/${{ env.ROS_DISTRO }}
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,value=${{ matrix.tag }}
type=raw,value=${{ env.ROS_DISTRO }}-${{ matrix.tag }}
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
Expand Down

0 comments on commit a998838

Please sign in to comment.