temp: use docker format strings instead of python3
All checks were successful
Deploy / deploy (push) Successful in 4m13s

This commit is contained in:
Gianpierre Mio
2026-03-10 16:27:37 -05:00
parent 87845f725f
commit 2008190237

View File

@@ -10,8 +10,8 @@ jobs:
- name: Inspect impulsa_landing container - name: Inspect impulsa_landing container
run: | run: |
echo "=== Mounts ===" echo "=== Mounts ==="
docker inspect impulsa_landing --format '{{json .Mounts}}' | python3 -m json.tool docker inspect impulsa_landing --format '{{range .Mounts}}Source={{.Source}} Dest={{.Destination}}{{"\n"}}{{end}}'
echo "=== Labels ===" echo "=== Traefik labels ==="
docker inspect impulsa_landing --format '{{json .Config.Labels}}' | python3 -m json.tool docker inspect impulsa_landing --format '{{range $k,$v := .Config.Labels}}{{$k}}={{$v}}{{"\n"}}{{end}}' | grep -i traefik
echo "=== index.html content ===" echo "=== index.html ==="
docker exec impulsa_landing cat /usr/share/nginx/html/index.html 2>/dev/null || docker exec impulsa_landing sh -c "find / -name 'index.html' 2>/dev/null | head -5" docker exec impulsa_landing cat /usr/share/nginx/html/index.html