From 0cdb2ca9f5db12d540b7aa58928b7937803be8ab Mon Sep 17 00:00:00 2001 From: pmacius Date: Mon, 30 Sep 2024 14:59:09 +0200 Subject: [PATCH] test --- .github/workflows/cleanup_images.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cleanup_images.yml b/.github/workflows/cleanup_images.yml index 8b5ae564..b7205b42 100644 --- a/.github/workflows/cleanup_images.yml +++ b/.github/workflows/cleanup_images.yml @@ -31,12 +31,15 @@ jobs: cleanup: runs-on: ubuntu-latest steps: + - name: Convert PACKAGE_NAMES to comma-separated list + run: echo "PACKAGES=$(echo ${{ env.PACKAGE_NAMES }} | tr '\n' ',' | sed 's/,$//')" >> $GITHUB_ENV + - name: Remove tag ${{format('pr-{0}', github.event.pull_request.number)}} uses: dataaxiom/ghcr-cleanup-action@98b4022383d6ddb70ccbf6a378b4d8c67a60f066 with: token: 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 owner: Alfresco repository: alfresco-dockerfiles-bakery - packages: ${{ env.PACKAGE_NAMES }} + packages: ${{ env.PACKAGES }} delete-tags: ${{format('pr-{0}', github.event.pull_request.number)}} dry-run: true