From c7e48cacbe458e9add93377d89e25a4e24944fce Mon Sep 17 00:00:00 2001 From: Matthew Walter Date: Wed, 28 Feb 2024 11:56:31 -0600 Subject: [PATCH] Update docker-image.yml fix --- .github/workflows/docker-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index c8b5b08..c2d5d7c 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -31,8 +31,8 @@ jobs: context: . platforms: linux/arm64/v8,linux/amd64 push: true + file: Dockerfile.${{ env.ROS_VERSION_PREVIOUS }} tags: ripl/libbot2-ros:${{ env.ROS_VERSION_PREVIOUS }} - build-args: ROS_VERSION=${{ env.ROS_VERSION_PREVIOUS }} - name: Build and push latest uses: docker/build-push-action@v5 with: @@ -40,4 +40,4 @@ jobs: platforms: linux/arm64/v8,linux/amd64 push: true tags: ripl/libbot2-ros:latest, ripl/libbot2-ros:${{ env.ROS_VERSION_LATEST }} - build-args: ROS_VERSION=${{ env.ROS_VERSION_LATEST }} + file: Dockerfile.${{ env.ROS_VERSION_LATEST }}