INNER CODE UNIT · Kotlin
app_with_path
vogler75/automation-gateway · docker/build.sh:12
app_with_path=../source/$app/build/distributions/$app.tar
else
app=$app-$sub
name="rocworks/automation-gateway:$ver-$sub"
app_with_path=../source/$app/build/distributions/$app.tar
fi
if [ -f $app_with_path ]; then
echo $app
cp $app_with_path ./app.tar
docker build --build-arg APP_NAME=$app -t $name .
rm ./app.tar
else
echo "Please build the app ${app_with_path} with gradle first!"
fi
}
# Get the current branch name