Update CI.yml

This commit is contained in:
Alexey Pustovalov 2020-09-07 22:17:28 +03:00 committed by GitHub
parent 5ffd08f665
commit 026b7a7779
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"