Skip to content

Commit

Permalink
ci: fix version build argument (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
domire8 authored Jul 30, 2024
1 parent 2df0c7f commit d3fe7f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/reusable-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ jobs:
GIT_TAG=""
else
IMAGE_TAGS="${VERSION_TAG},${VERSION_TAG}-${ROS_DISTRO}","${ROS_DISTRO}"
GIT_TAG="${VERSION_TAG}-${{ inputs.ros_distro}}"
GIT_TAG="${VERSION_TAG}-${ROS_DISTRO}"
fi
BUILD_FLAGS+=(--build-arg VERSION=${GIT_TAG})
BUILD_FLAGS+=(--build-arg VERSION=${VERSION_TAG}-${ROS_DISTRO})
echo "::debug::Using base image tag ${BASE_TAG}"
echo "Build flags: ${BUILD_FLAGS[@]}"
Expand Down

0 comments on commit d3fe7f4

Please sign in to comment.