mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-29 03:23:25 +08:00 
			
		
		
		
	chore(ci): adapt more docker steps
This commit is contained in:
		
							parent
							
								
									2920838ab1
								
							
						
					
					
						commit
						fada21027e
					
				
							
								
								
									
										4
									
								
								.github/workflows/dev.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/dev.yml
									
									
									
									
										vendored
									
									
								
							| @ -142,6 +142,8 @@ jobs: | |||||||
| 
 | 
 | ||||||
|       - name: Update build info |       - name: Update build info | ||||||
|         run: pnpm run chore:update-build-info |         run: pnpm run chore:update-build-info | ||||||
|  |       - name: Trigger build | ||||||
|  |         run: pnpm nx run @triliumnext/server:build | ||||||
| 
 | 
 | ||||||
|       - name: Set IMAGE_NAME to lowercase |       - name: Set IMAGE_NAME to lowercase | ||||||
|         run: echo "IMAGE_NAME=${IMAGE_NAME,,}" >> $GITHUB_ENV |         run: echo "IMAGE_NAME=${IMAGE_NAME,,}" >> $GITHUB_ENV | ||||||
| @ -154,7 +156,7 @@ jobs: | |||||||
|       - name: Build and export to Docker |       - name: Build and export to Docker | ||||||
|         uses: docker/build-push-action@v6 |         uses: docker/build-push-action@v6 | ||||||
|         with: |         with: | ||||||
|           context: . |           context: apps/server | ||||||
|           file: ${{ matrix.dockerfile }} |           file: ${{ matrix.dockerfile }} | ||||||
|           load: true |           load: true | ||||||
|           tags: ${{ env.TEST_TAG }} |           tags: ${{ env.TEST_TAG }} | ||||||
|  | |||||||
							
								
								
									
										4
									
								
								.github/workflows/main-docker.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/main-docker.yml
									
									
									
									
										vendored
									
									
								
							| @ -56,12 +56,12 @@ jobs: | |||||||
|         run: npx playwright install --with-deps |         run: npx playwright install --with-deps | ||||||
| 
 | 
 | ||||||
|       - name: Run the TypeScript build |       - name: Run the TypeScript build | ||||||
|         run: npm run build |         run: npm nx run @triliumnext/server:build | ||||||
| 
 | 
 | ||||||
|       - name: Build and export to Docker |       - name: Build and export to Docker | ||||||
|         uses: docker/build-push-action@v6 |         uses: docker/build-push-action@v6 | ||||||
|         with: |         with: | ||||||
|           context: . |           context: apps/server | ||||||
|           file: ${{ matrix.dockerfile }} |           file: ${{ matrix.dockerfile }} | ||||||
|           load: true |           load: true | ||||||
|           tags: ${{ env.TEST_TAG }} |           tags: ${{ env.TEST_TAG }} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran