Address all shellcheck warnings
This commit is contained in:
parent
c35a8bdb15
commit
c843c182e4
1 changed files with 6 additions and 4 deletions
|
@ -12,8 +12,10 @@ git config --global user.email "$TRAEFIKER_EMAIL"
|
||||||
git config --global user.name "Traefiker"
|
git config --global user.name "Traefiker"
|
||||||
|
|
||||||
# load ssh key
|
# load ssh key
|
||||||
|
: "${encrypted_83c521e11abe_key:?}" # ensures variable is defined
|
||||||
|
: "${encrypted_83c521e11abe_iv:?}" # same
|
||||||
echo "Loading key..."
|
echo "Loading key..."
|
||||||
openssl aes-256-cbc -K $encrypted_83c521e11abe_key -iv $encrypted_83c521e11abe_iv -in .travis/traefiker_rsa.enc -out ~/.ssh/traefiker_rsa -d
|
openssl aes-256-cbc -K "$encrypted_83c521e11abe_key" -iv "$encrypted_83c521e11abe_iv" -in .travis/traefiker_rsa.enc -out ~/.ssh/traefiker_rsa -d
|
||||||
eval "$(ssh-agent -s)"
|
eval "$(ssh-agent -s)"
|
||||||
chmod 600 ~/.ssh/traefiker_rsa
|
chmod 600 ~/.ssh/traefiker_rsa
|
||||||
ssh-add ~/.ssh/traefiker_rsa
|
ssh-add ~/.ssh/traefiker_rsa
|
||||||
|
@ -22,10 +24,10 @@ ssh-add ~/.ssh/traefiker_rsa
|
||||||
echo "Updating traefik-library-imag repo..."
|
echo "Updating traefik-library-imag repo..."
|
||||||
git clone git@github.com:traefik/traefik-library-image.git
|
git clone git@github.com:traefik/traefik-library-image.git
|
||||||
cd traefik-library-image
|
cd traefik-library-image
|
||||||
./updatev2.sh $VERSION
|
./updatev2.sh "$VERSION"
|
||||||
git add -A
|
git add -A
|
||||||
echo $VERSION | git commit --file -
|
echo "$VERSION" | git commit --file -
|
||||||
echo $VERSION | git tag -a $VERSION --file -
|
echo "$VERSION" | git tag -a "$VERSION" --file -
|
||||||
git push -q --follow-tags -u origin master > /dev/null 2>&1
|
git push -q --follow-tags -u origin master > /dev/null 2>&1
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
Loading…
Reference in a new issue