Skip to content

Commit

Permalink
Debug cleanup script
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Apr 9, 2024
1 parent 7f1302a commit 5eb5494
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/remove-untagged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
PER_PAGE: 100
steps:
- name: Remove untagged images
uses: actions/github-script@v6.3.3
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand All @@ -29,7 +29,7 @@ jobs:
console.log(`Tags: ${version.metadata.container.tags.join(", ")}`)
} else {
console.log(`Delete ${version.id} (${version.name})`)
const deleteResponse = await github.request("DELETE /orgs/${{ github.repository_owner }}/packages/container/${{ matrix.image-name }}/versions/" + version.id, { });
console.log(deleteResponse.status)
// const deleteResponse = await github.request("DELETE /orgs/${{ github.repository_owner }}/packages/container/${{ matrix.image-name }}/versions/" + version.id, { });
// console.log(deleteResponse.status)
}
}

0 comments on commit 5eb5494

Please sign in to comment.