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 f76bf28 commit 76e4151
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/remove-untagged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
console.log(version.metadata)
console.log(version.metadata.container)
console.log(version.metadata.container.tags)
# if (version.metadata.container.tags.length == 0 && version.name !== "latest" && version.name !== "preview") {
# console.log("Delete " + version.id)
/*if (version.metadata.container.tags.length == 0 && version.name !== "latest" && version.name !== "preview") {
console.log("Delete " + version.id)
# const deleteResponse = await github.request("DELETE /orgs/${{ github.repository_owner }}/packages/container/${{ matrix.image-name }}/versions/" + version.id, { });
# console.log("status " + deleteResponse.status)
# }
const deleteResponse = await github.request("DELETE /orgs/${{ github.repository_owner }}/packages/container/${{ matrix.image-name }}/versions/" + version.id, { });
console.log("status " + deleteResponse.status)
}*/
}

0 comments on commit 76e4151

Please sign in to comment.