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

Update get-modified-image.sh

parent 9bbdc946
No related branches found
No related tags found
1 merge request!22Ajout de la CI pour Etherpad et Dokuwiki
......@@ -7,13 +7,15 @@ RES=""
echo "fesse"
for i in $(git diff-tree --no-commit-id --name-only $CI_COMMIT_SHA); do
echo "pipi"$i
if [[ "$(printf '%s' "$i")" == *"pica"* ]]; then
if [[ "$(printf '%s' "$i")" == *"pica"* ]]
then
RES="$(printf '%s' "$i")"
echo "test"
fi
done
echo "babouche"
if [[ "$(printf '%s' "$RES")" == "" ]]; then
printf '%s' "$RES"
if [[ "$(printf '%s' "$RES")" == "" ]]
then
exit 1
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