Skip to content

Commit

Permalink
Merge branch 'ros2' into daisukes/super-linter
Browse files Browse the repository at this point in the history
  • Loading branch information
daisukes authored Apr 30, 2024
2 parents c84a503 + 8508500 commit 66108a7
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions manage-docker-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ cd "$scriptdir" || exit
scriptdir=$(pwd)

all_actions="tag pull push list rmi del tz uid"
all_images="ros2 localization people people-nuc ble_scan map_server"
all_images="ros2 localization people people-nuc people-jetson ble_scan map_server"

pwd=$(pwd)
prefix=$(basename "$pwd")
Expand Down Expand Up @@ -265,12 +265,21 @@ for image in $images; do
fi
done
fi
if [[ $image == "people-jetson" ]]; then
for target in "people-jetson-rs1" "people-jetson-rs2" "people-jetson-rs3" "people-jetson-detection" "people-jetson-track"; do
com="docker tag ${prefix}-people-jetson ${prefix}-${target}:latest"
echo "$com"
if ! eval "$com"; then
exit 11
fi
done
fi
if [[ $image == "map_server" ]]; then
target="map_data"
com="docker tag ${prefix}-map_server ${prefix}-${target}:latest"
echo "$com"
if ! eval "$com"; then
exit 11
exit 12
fi
fi
fi
Expand Down

0 comments on commit 66108a7

Please sign in to comment.