From 82ff7cf80ef8864b8effc2abf50b3f5dd896b18b Mon Sep 17 00:00:00 2001 From: "Aman Kumar [SSW]" <71385247+amankumarrr@users.noreply.github.com> Date: Fri, 1 Mar 2024 15:36:01 +1100 Subject: [PATCH] merging non-pr tags --- .github/workflows/weekly-acr-images-cleanup.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)