diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 55ef7bfd0..9865bb375 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -146,9 +146,11 @@ jobs: if [ ! -z "${{ steps.prepare_push.outputs.image_tag_versions }}" ]; then IFS='|' read -r -a IMAGE_TAG_VERSIONS <<< "${{ steps.prepare_push.outputs.image_tag_versions }}" + IMAGE_TAG_VERSIONS=${IMAGE_TAG_VERSIONS%%+(|)} echo "::warning tags raw - ${{ steps.prepare_push.outputs.image_tag_versions }}" elif [ ! -z "${{ steps.prepare_release.outputs.image_tag_versions }}" ]; then IFS='|' read -r -a IMAGE_TAG_VERSIONS <<< "${{ steps.prepare_release.outputs.image_tag_versions }}" + IMAGE_TAG_VERSIONS=${IMAGE_TAG_VERSIONS%%+(|)} echo "::warning tags raw - ${{ steps.prepare_release.outputs.image_tag_versions }}" fi echo "::warning tag value - $IMAGE_TAG_VERSIONS"