From d3fe7f4eae70e327099df778b9889b906b211438 Mon Sep 17 00:00:00 2001 From: Dominic Reber <71256590+domire8@users.noreply.github.com> Date: Tue, 30 Jul 2024 08:52:02 +0200 Subject: [PATCH] ci: fix version build argument (#117) --- .github/workflows/reusable-build-push.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable-build-push.yml b/.github/workflows/reusable-build-push.yml index 0b4f7e3..dc4e9cb 100644 --- a/.github/workflows/reusable-build-push.yml +++ b/.github/workflows/reusable-build-push.yml @@ -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[@]}"