Filter sha256-only containers, truncate long image tags
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -149,6 +149,10 @@ router.get('/docker', async (_req, res) => {
|
||||
// Skip ephemeral CI/pipeline containers
|
||||
if (containerName.startsWith('wp_')) continue
|
||||
|
||||
// Skip containers with no real name or image tag (sha256-only)
|
||||
const isShaTag = rawImage.startsWith('sha256:') || rawImage.includes('@sha256:') && !rawImage.includes(':')
|
||||
if (!containerName || isShaTag) continue
|
||||
|
||||
// Get repo digests via image inspect
|
||||
let repoDigest: string | null = null
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user