name: find-impulsa-source on: workflow_dispatch: jobs: find: runs-on: self-hosted steps: - name: Find impulsa_landing image and source run: | echo "=== Container image ===" docker inspect impulsa_landing --format '{{.Config.Image}}' echo "=== Image history ===" docker inspect impulsa_landing --format '{{.Image}}' IMAGE_ID=$(docker inspect impulsa_landing --format '{{.Image}}') 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 "