mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 19:19:03 +01:00 
			
		
		
		
	 3553d64060
			
		
	
	
		3553d64060
		
	
	
	
	
		
			
			this is now handled fully inside Docker. exception for "test_docker" job in "main-docker" -> it seems that one needs to be there still, since it runs Playwright tests from outside the container
		
			
				
	
	
		
			13 lines
		
	
	
		
			332 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			332 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/env bash
 | |
| 
 | |
| set -e  # Fail on any command error
 | |
| 
 | |
| VERSION=`jq -r ".version" package.json`
 | |
| SERIES=${VERSION:0:4}-latest
 | |
| 
 | |
| sudo docker build -t triliumnext/notes:$VERSION --network host -t triliumnext/notes:$SERIES .
 | |
| 
 | |
| if [[ $VERSION != *"beta"* ]]; then
 | |
|   sudo docker tag triliumnext/notes:$VERSION triliumnext/notes:latest
 | |
| fi
 |