mirror of
				https://github.com/jakeswenson/BitBetter.git
				synced 2025-10-31 21:03:25 +00:00 
			
		
		
		
	Update build.sh to reflect move to GHCR
This commit is contained in:
		
							parent
							
								
									770dcd33f6
								
							
						
					
					
						commit
						0c0a5b1f12
					
				
							
								
								
									
										8
									
								
								build.sh
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								build.sh
									
									
									
									
									
								
							|  | @ -47,13 +47,13 @@ done | ||||||
| 
 | 
 | ||||||
| # update bitwarden itself | # update bitwarden itself | ||||||
| if [ "$1" = "y" ]; then | if [ "$1" = "y" ]; then | ||||||
| 	docker pull bitwarden/self-host:beta | 	docker pull ghcr.io/bitwarden/self-host:beta | ||||||
| else | else | ||||||
| 	read -p "Update (or get) bitwarden source container: " -n 1 -r | 	read -p "Update (or get) bitwarden source container: " -n 1 -r | ||||||
| 	echo | 	echo | ||||||
| 	if [[ $REPLY =~ ^[Yy]$ ]] | 	if [[ $REPLY =~ ^[Yy]$ ]] | ||||||
| 	then | 	then | ||||||
| 		docker pull bitwarden/self-host:beta | 		docker pull ghcr.io/bitwarden/self-host:beta | ||||||
| 	fi | 	fi | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
|  | @ -63,7 +63,7 @@ docker rm bitwarden-patch | ||||||
| docker image rm bitwarden-patch | docker image rm bitwarden-patch | ||||||
| 
 | 
 | ||||||
| # start a new bitwarden instance so we can patch it | # start a new bitwarden instance so we can patch it | ||||||
| PATCHINSTANCE=$(docker run -d --name bitwarden-patch bitwarden/self-host:beta) | PATCHINSTANCE=$(docker run -d --name bitwarden-patch ghcr.io/bitwarden/self-host:beta) | ||||||
| 
 | 
 | ||||||
| # create our temporary directory | # create our temporary directory | ||||||
| mkdir $TEMPDIRECTORY | mkdir $TEMPDIRECTORY | ||||||
|  | @ -103,4 +103,4 @@ docker build -t bitbetter/licensegen "$PWD/src/licenseGen" | ||||||
| 
 | 
 | ||||||
| # clean the licenseGen source directory | # clean the licenseGen source directory | ||||||
| rm -f "$PWD/src/licenseGen/Core.dll" | rm -f "$PWD/src/licenseGen/Core.dll" | ||||||
| rm -f "$PWD/src/licenseGen/cert.pfx" | rm -f "$PWD/src/licenseGen/cert.pfx" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user