Files
probably-rendering-one-more…/.gitea/workflows/creative-browser-diagnostics.yml
T
codex-bot 2def86baf7
runner tagged image ownership inventory / diagnose (push) Successful in 22s
Inventory tagged images across tasks before scoped cleanup
2026-10-31 04:11:09 +08:00

21 lines
811 B
YAML

name: runner tagged image ownership inventory
on:
push:
branches: [codex/creative-browser-diagnosis]
jobs:
diagnose:
runs-on: ces-control
timeout-minutes: 10
steps:
- name: Inventory tagged image repositories and container references without deleting
run: |
set -euo pipefail
df -h /
docker image ls --no-trunc --format 'IMAGE {{json .}}'
ids=$(docker ps -aq)
if [ -n "$ids" ]; then
docker inspect --format 'CONTAINER {{.Name}} status={{.State.Status}} image={{.Image}} tag={{.Config.Image}} project={{with index .Config "Labels"}}{{index . "com.docker.compose.project"}}{{end}}' $ids
fi
echo 'DEPLOYMENT ROOT DIRECTORIES (names only)'
find /opt -mindepth 1 -maxdepth 2 -type d -print