mirror of
				https://github.com/jakeswenson/BitBetter.git
				synced 2025-10-31 12:53:25 +00:00 
			
		
		
		
	Fix circleci
This commit is contained in:
		
							parent
							
								
									65bda70c34
								
							
						
					
					
						commit
						521be7b825
					
				|  | @ -12,4 +12,4 @@ jobs: | |||
|           command: ./generateKeys.sh | ||||
|       - run: | ||||
|           name: Build script | ||||
|           command: ./build.sh | ||||
|           command: ./build.sh y | ||||
							
								
								
									
										11
									
								
								build.ps1
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								build.ps1
									
									
									
									
									
								
							|  | @ -43,10 +43,17 @@ foreach ($instance in $oldinstances) { | |||
| } | ||||
| 
 | ||||
| # update bitwarden itself | ||||
| $confirmation = Read-Host "Update (or get) bitwarden source container" | ||||
| if ($confirmation -eq 'y') { | ||||
| if ($args[0] -eq 'y') | ||||
| { | ||||
| 	docker pull bitwarden/self-host:beta | ||||
| } | ||||
| else | ||||
| { | ||||
| 	$confirmation = Read-Host "Update (or get) bitwarden source container" | ||||
| 	if ($confirmation -eq 'y') { | ||||
| 		docker pull bitwarden/self-host:beta | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
| # stop and remove previous existing patch(ed) container | ||||
| docker stop bitwarden-patch | ||||
|  |  | |||
							
								
								
									
										13
									
								
								build.sh
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								build.sh
									
									
									
									
									
								
							|  | @ -46,13 +46,18 @@ for INSTANCE in ${OLDINSTANCES[@]}; do | |||
| done | ||||
| 
 | ||||
| # update bitwarden itself | ||||
| read -p "Update (or get) bitwarden source container: " -n 1 -r | ||||
| echo | ||||
| if [[ $REPLY =~ ^[Yy]$ ]] | ||||
| then | ||||
| if [ "$1" = "y" ]; then | ||||
| 	docker pull bitwarden/self-host:beta | ||||
| else | ||||
| 	read -p "Update (or get) bitwarden source container: " -n 1 -r | ||||
| 	echo | ||||
| 	if [[ $REPLY =~ ^[Yy]$ ]] | ||||
| 	then | ||||
| 		docker pull bitwarden/self-host:beta | ||||
| 	fi | ||||
| fi | ||||
| 
 | ||||
| 
 | ||||
| # stop and remove previous existing patch(ed) container | ||||
| docker stop bitwarden-patch | ||||
| docker rm bitwarden-patch | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user