Skip to content
Snippets Groups Projects
Commit 9c92d6bc authored by Igor Witz's avatar Igor Witz
Browse files

fix: retrieve FULL image name

parent 9a124f11
No related branches found
No related tags found
1 merge request!31MAJ CI + volumes dans Dokuwiki
......@@ -10,6 +10,14 @@ do
*pica*) RES=$(echo $i | cut -d '/' -f1);;
esac
done
if [[ "$RES" == "" ]]
then
echo "No image modified"
exit 1
fi
RES=$(cat $RES/docker-compose.yml | grep image: | head -n1 | cut -d ':' -f2-)
if [[ "$RES" == "" ]]
then
echo "No image modified"
......@@ -17,5 +25,4 @@ then
else
echo $RES
fi
RES=$(cat $RES/docker-compose.yml | grep image: | head -n1 | cut -d ':' -f2-)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment