From 3af3965d4979d4a722efb0d827aac93163ea4c16 Mon Sep 17 00:00:00 2001 From: na4ma4 Date: Mon, 19 Feb 2024 18:24:48 +1000 Subject: [PATCH] disable cleanup workflow, it is breaking multiarch packages see actions/delete-package-versions#90 --- .github/workflows/docker-pr-cleanup.yml | 80 ++++++++++++------------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/.github/workflows/docker-pr-cleanup.yml b/.github/workflows/docker-pr-cleanup.yml index 8f5f402..15b4860 100644 --- a/.github/workflows/docker-pr-cleanup.yml +++ b/.github/workflows/docker-pr-cleanup.yml @@ -90,44 +90,44 @@ jobs: - name: Print Version ID run: echo "The selected Version ID is ${{ steps.version-id.outputs.version_id }}" - # this job will only run if the PR has been merged - merge_job: - name: "PR was closed and merged" - if: ${{ inputs.pull-request-merged == true }} - runs-on: ubuntu-latest - needs: - metadata - steps: - - uses: actions/delete-package-versions@v5 - with: - package-name: ${{ inputs.package-name }} - package-type: 'container' - min-versions-to-keep: 0 - delete-only-untagged-versions: 'true' - - uses: actions/delete-package-versions@v5 - if: ${{ needs.metadata.outputs.version-id != '' }} - with: - package-name: ${{ inputs.package-name }} - package-type: 'container' - package-version-ids: '${{ needs.metadata.outputs.version-id }}' + # # this job will only run if the PR has been merged + # merge_job: + # name: "PR was closed and merged" + # if: ${{ inputs.pull-request-merged == true }} + # runs-on: ubuntu-latest + # needs: + # metadata + # steps: + # - uses: actions/delete-package-versions@v5 + # with: + # package-name: ${{ inputs.package-name }} + # package-type: 'container' + # min-versions-to-keep: 0 + # delete-only-untagged-versions: 'true' + # - uses: actions/delete-package-versions@v5 + # if: ${{ needs.metadata.outputs.version-id != '' }} + # with: + # package-name: ${{ inputs.package-name }} + # package-type: 'container' + # package-version-ids: '${{ needs.metadata.outputs.version-id }}' - # this job will only run if the PR has been closed without being merged - close_job: - name: "PR was closed but not merged" - if: ${{ inputs.pull-request-merged == false }} - runs-on: ubuntu-latest - needs: - metadata - steps: - - uses: actions/delete-package-versions@v5 - with: - package-name: ${{ inputs.package-name }} - package-type: 'container' - min-versions-to-keep: 0 - delete-only-untagged-versions: 'true' - - uses: actions/delete-package-versions@v5 - if: ${{ needs.metadata.outputs.version-id != '' }} - with: - package-name: ${{ inputs.package-name }} - package-type: 'container' - package-version-ids: '${{ needs.metadata.outputs.version-id }}' + # # this job will only run if the PR has been closed without being merged + # close_job: + # name: "PR was closed but not merged" + # if: ${{ inputs.pull-request-merged == false }} + # runs-on: ubuntu-latest + # needs: + # metadata + # steps: + # - uses: actions/delete-package-versions@v5 + # with: + # package-name: ${{ inputs.package-name }} + # package-type: 'container' + # min-versions-to-keep: 0 + # delete-only-untagged-versions: 'true' + # - uses: actions/delete-package-versions@v5 + # if: ${{ needs.metadata.outputs.version-id != '' }} + # with: + # package-name: ${{ inputs.package-name }} + # package-type: 'container' + # package-version-ids: '${{ needs.metadata.outputs.version-id }}'