Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
柏霜 committed Dec 3, 2024
1 parent d2d52a8 commit 8c4d665
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .computenest/ros_templates/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,10 @@ Resources:
Fn::Sub:
|-
#!/bin/bash
if [ "${ImagePullPath}" == "" ] || [ "${AcrUsername}" == "" ] || [ "${AcrPassword}" == "" ]; then
echo "ImagePullPath, AcrUsername or AcrPassword is empty, please check."
exit 1
fi
# 判断是否镜像在本地是否已存在
docker images ${ImagePullPath} | grep ${ImagePullPath}
if [ $? -gt 0 ]; then
Expand Down

0 comments on commit 8c4d665

Please sign in to comment.