Skip to content
Discussion options

You must be logged in to vote

683317892 is the GitHub package version ID for that container image. GitHub Packages assigns an internal numeric ID to each version.

What it is:
It’s not a tag or digest. It’s an internal package version identifier GitHub uses in URLs for container registry UI pages.

How to get it in a script:
Use the GitHub API to list package versions and extract the ID.

Example (bash + jq):

TOKEN=ghp_…
OWNER=goauthentik
REPO=authentik
PACKAGE_ID=$(curl -s
-H "Accept: application/vnd.github+json"
-H "Authorization: Bearer $TOKEN"
https://api.github.com/orgs/$OWNER/packages/container/server/versions
| jq -r '.[] | select(.metadata.container.tags[]=="2025.10") .id')

echo $PACKAGE_ID

This returns 68331…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by FlizzerMDX
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Packages Host your dependencies, libraries, and production-ready code, right from your repository Question Ask and answer questions about GitHub features and usage
3 participants