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 |           command: ./generateKeys.sh | ||||||
|       - run: |       - run: | ||||||
|           name: Build script |           name: Build script | ||||||
|           command: ./build.sh |           command: ./build.sh y | ||||||
							
								
								
									
										13
									
								
								build.ps1
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								build.ps1
									
									
									
									
									
								
							|  | @ -43,9 +43,16 @@ foreach ($instance in $oldinstances) { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| # update bitwarden itself | # update bitwarden itself | ||||||
| $confirmation = Read-Host "Update (or get) bitwarden source container" | if ($args[0] -eq 'y') | ||||||
| if ($confirmation -eq 'y') { | { | ||||||
|     docker pull bitwarden/self-host:beta | 	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 | # stop and remove previous existing patch(ed) container | ||||||
|  |  | ||||||
							
								
								
									
										15
									
								
								build.sh
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								build.sh
									
									
									
									
									
								
							|  | @ -46,13 +46,18 @@ for INSTANCE in ${OLDINSTANCES[@]}; do | ||||||
| done | done | ||||||
| 
 | 
 | ||||||
| # update bitwarden itself | # update bitwarden itself | ||||||
| read -p "Update (or get) bitwarden source container: " -n 1 -r | if [ "$1" = "y" ]; then | ||||||
| echo | 	docker pull bitwarden/self-host:beta | ||||||
| if [[ $REPLY =~ ^[Yy]$ ]] | else | ||||||
| then | 	read -p "Update (or get) bitwarden source container: " -n 1 -r | ||||||
|     docker pull bitwarden/self-host:beta | 	echo | ||||||
|  | 	if [[ $REPLY =~ ^[Yy]$ ]] | ||||||
|  | 	then | ||||||
|  | 		docker pull bitwarden/self-host:beta | ||||||
|  | 	fi | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
| # stop and remove previous existing patch(ed) container | # stop and remove previous existing patch(ed) container | ||||||
| docker stop bitwarden-patch | docker stop bitwarden-patch | ||||||
| docker rm bitwarden-patch | docker rm bitwarden-patch | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user