Hi,
I have github actions posting docker images to the github container repository as part of our builds. This is all working fine, however, I need to be able to manage and delete untagged versions of the images as they age.
- The packages are being associated with the organization and are private packages.
- The PAT I’m using has the permissions to *delete:packages, read:org, repo, write:packages
No matter what I’ve tried I can’t seem to find the packages although they show up in:
https://github.com/orgs//packages?ecosystem=container. This shows 20+packages.
I’ve tried the graphQL Path:
{
organization(login: "Get-A-Head") {
id
packages(last: 50) {
totalCount
edges {
node {
id
name
}
}
}
}
}
This returns 1 item, although I think it’s actually returning a public package I made a while ago in testing.
Does anyone know the secret incantation for this?