Skip to content

Commit

Permalink
ci: dry-run nightly removal job
Browse files Browse the repository at this point in the history
Signed-off-by: László Várady <[email protected]>
  • Loading branch information
MrAnno committed Jan 29, 2025
1 parent 60cb1ef commit 13fbfd6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/axosyslog-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ jobs:
console.log(`Removing the following images: ${oldSnapshotTags}`)
/* REVERT after a few days
const manifestsRequests = oldSnapshotTags.map((t) => {
const manifest = fetch(`https://ghcr.io/v2/${image}/manifests/${t}`, {
method: "GET",
Expand Down Expand Up @@ -168,3 +169,4 @@ jobs:
await Promise.all(oldSnapshotVersions.map((v) => {
return github.rest.packages.deletePackageVersionForOrg({ package_type: "container", package_name: package_name, org: org, package_version_id: v.id})
}))
*/

0 comments on commit 13fbfd6

Please sign in to comment.