temp: find impulsa_landing image source and docker-compose
All checks were successful
Deploy / deploy (push) Successful in 4m9s

This commit is contained in:
2026-03-10 22:36:43 +01:00
parent 2008190237
commit 1774518754

View File

@@ -1,5 +1,4 @@
name: Find Impulsa Web name: find-impulsa-source
on: on:
workflow_dispatch: workflow_dispatch:
@@ -7,11 +6,24 @@ jobs:
find: find:
runs-on: self-hosted runs-on: self-hosted
steps: steps:
- name: Inspect impulsa_landing container - name: Find impulsa_landing image and source
run: | run: |
echo "=== Mounts ===" echo "=== Container image ==="
docker inspect impulsa_landing --format '{{range .Mounts}}Source={{.Source}} Dest={{.Destination}}{{"\n"}}{{end}}' docker inspect impulsa_landing --format '{{.Config.Image}}'
echo "=== Traefik labels ===" echo "=== Image history ==="
docker inspect impulsa_landing --format '{{range $k,$v := .Config.Labels}}{{$k}}={{$v}}{{"\n"}}{{end}}' | grep -i traefik docker inspect impulsa_landing --format '{{.Image}}'
echo "=== index.html ===" IMAGE_ID=$(docker inspect impulsa_landing --format '{{.Image}}')
docker exec impulsa_landing cat /usr/share/nginx/html/index.html docker inspect $IMAGE_ID --format '{{range .Config.Env}}{{.}}{{"\n"}}{{end}}'
echo "=== Find docker-compose files with impulsa_landing ==="
docker run --rm -v /home:/host-home -v /opt:/host-opt alpine sh -c "
find /host-home /host-opt -name 'docker-compose*' 2>/dev/null | while read f; do
if grep -q 'impulsa_landing\|impulsa-landing' \"\$f\" 2>/dev/null; then
echo \"FOUND: \$f\"
cat \"\$f\"
fi
done
"
echo "=== All docker-compose files ==="
docker run --rm -v /home:/host-home -v /opt:/host-opt alpine sh -c "
find /host-home /host-opt -name 'docker-compose*' 2>/dev/null
"