I am using 'run a bash script' task in my azure yaml pipeline. I need to access service connection ( docker connection) within the script so I can login to docker & jfrog and logout multiple times ( without having to use variables or variable groups) .
How can I achieve this? Appreciate your suggestions & help in advance