Squashed 'third_party/apereo-cas/overlay/' content from commit 2881b2c0d

git-subtree-dir: third_party/apereo-cas/overlay
git-subtree-split: 2881b2c0d8dcaae25582c4607f2dbadfb5a50953
This commit is contained in:
Luke Granger-Brown 2020-07-05 13:05:18 +00:00
commit 2e185f50c3
32 changed files with 1658 additions and 0 deletions

12
docker-push.sh Executable file
View file

@ -0,0 +1,12 @@
#!/bin/bash
read -p "Docker username: " docker_user
read -s -p "Docker password: " docker_psw
echo "$docker_psw" | docker login --username "$docker_user" --password-stdin
image_tag=(`cat gradle.properties | grep "cas.version" | cut -d= -f2`)
echo "Pushing CAS docker image tagged as v$image_tag to apereo/cas..."
docker push apereo/cas:"v$image_tag" \
&& echo "Pushed apereo/cas:v$image_tag successfully.";