Skip to content

Commit

Permalink
add debug code 2
Browse files Browse the repository at this point in the history
Signed-off-by: chensuyue <[email protected]>
  • Loading branch information
chensuyue committed Dec 25, 2024
1 parent 0ceab0b commit 547b5d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/scripts/docker_compose_clean_up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ case "$1" in
pip install jq yq
pip list | grep jq
pip list | grep yq
ports=$(export $PATH | yq '.services[].ports[] | split(":")[0]' $yaml_file | grep -o '[0-9]\+')
yq '.services[].ports[] | split(":")[0]' $yaml_file | grep -o '[0-9]\+'
echo "$ports"
for port in $ports; do
cid=$(docker ps --filter "publish=${port}" --format "{{.ID}}")
Expand Down

0 comments on commit 547b5d9

Please sign in to comment.