* example code for BAEL-3749 * added live test * added live test * improved exception handling in response log filter * propage exception in example code * updated repo with upstream * added example code for BAEL-3293 * updated the example code for BAEL-3749 * updated the example code for BAEL-3749 * updated the example code for BAEL-3749 * updated the example code for BAEL-3749
		
			
				
	
	
		
			12 lines
		
	
	
		
			432 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			432 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/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 $image_tag to org.apereo.cas/cas..."
 | |
| docker push org.apereo.cas/cas:"$image_tag" \
 | |
| 	&& echo "Pushed org.apereo.cas/cas:$image_tag successfully."; |