merge(3p/apereo-cas-overlay): Merge commit '2e185f50c3
' as 'third_party/apereo-cas/overlay'
Change-Id: Ic3590a8da009199100f6dd9f8c9c41196b5ea9ff
This commit is contained in:
commit
c22796eb2a
32 changed files with 1658 additions and 0 deletions
12
third_party/apereo-cas/overlay/docker-push.sh
vendored
Executable file
12
third_party/apereo-cas/overlay/docker-push.sh
vendored
Executable 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.";
|
Loading…
Add table
Add a link
Reference in a new issue