diff --git a/.github/workflows/weekly-acr-images-cleanup.yml b/.github/workflows/weekly-acr-images-cleanup.yml index 3ee1adf0b1..3294d208e9 100644 --- a/.github/workflows/weekly-acr-images-cleanup.yml +++ b/.github/workflows/weekly-acr-images-cleanup.yml @@ -89,8 +89,8 @@ jobs: echo "❌ - Number of docker images are not equal to number of active PRs" Write-Host "⚡- These images need to be deleted : $imagesExistThatRequireDeletion" } - - $mergedTags = $imagesExistThatRequireDeletion + '${{ steps.imageTags.outputs.tagsWithoutPRPrefix }}' + $non-pr-tags = "${{ steps.imageTags.outputs.tagsWithoutPRPrefix }}" + $mergedTags = $imagesExistThatRequireDeletion + $non-pr-tags $tags = $imagesExistThatRequireDeletion -split ' ' $imageTagList = ConvertTo-Json -Compress @($tags)