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