From da38da2ad2681ccfbe11f8f9151a637f4d3da4cd Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Tue, 19 Nov 2024 17:47:54 +0000 Subject: [PATCH] Fix CI --- .github/actions/test-build/action.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/actions/test-build/action.yml b/.github/actions/test-build/action.yml index 1296e31..e66026a 100644 --- a/.github/actions/test-build/action.yml +++ b/.github/actions/test-build/action.yml @@ -32,10 +32,14 @@ runs: VERSION_PART_MAJOR=$(echo "$VERSION" | awk -F'.' '{print $1}') VERSION_PART_MINOR=$(echo "$VERSION" | awk -F'.' '{print $2}') [ "$VERSION" == "main" ] && VERSION=preview + echo "IMAGE_ID: $IMAGE_ID" + echo "VERSION: $VERSION" + echo "VERSION_PART_MAJOR: $VERSION_PART_MAJOR" + echo "VERSION_PART_MINOR: $VERSION_PART_MINOR" echo "image-id=$IMAGE_ID" >> "$GITHUB_OUTPUT" echo "tag=$VERSION" >> "$GITHUB_OUTPUT" - echo "major-version=$MAJOR_VERSION" >> "$GITHUB_OUTPUT" - echo "minor-version=$MINOR_VERSION" >> "$GITHUB_OUTPUT" + echo "major-version=$VERSION_PART_MAJOR" >> "$GITHUB_OUTPUT" + echo "minor-version=$VERSION_PART_MINOR" >> "$GITHUB_OUTPUT" shell: bash - name: Build images