Filter out Woodpecker CI ephemeral containers from Docker updates
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -143,6 +143,9 @@ router.get('/docker', async (_req, res) => {
|
|||||||
const rawImage = (c.Image as string) ?? ''
|
const rawImage = (c.Image as string) ?? ''
|
||||||
const containerName = ((c.Names as string[])?.[0] ?? '').replace(/^\//, '')
|
const containerName = ((c.Names as string[])?.[0] ?? '').replace(/^\//, '')
|
||||||
|
|
||||||
|
// Skip ephemeral CI/pipeline containers
|
||||||
|
if (containerName.startsWith('wp_')) continue
|
||||||
|
|
||||||
// Get repo digests via image inspect
|
// Get repo digests via image inspect
|
||||||
let repoDigest: string | null = null
|
let repoDigest: string | null = null
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user