mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01:00 
			
		
		
		
	Replace hardcoded package name in CI workflow (#5281)
This commit is contained in:
		
							parent
							
								
									88b903ba39
								
							
						
					
					
						commit
						a0697b81a1
					
				
							
								
								
									
										8
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							@ -19,6 +19,10 @@ jobs:
 | 
				
			|||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    name: Image Build
 | 
					    name: Image Build
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
 | 
					      - id: lowercaseRepo
 | 
				
			||||||
 | 
					        uses: ASzc/change-string-case-action@v1
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          string: ${{ github.repository }}
 | 
				
			||||||
      - name: Check out code
 | 
					      - name: Check out code
 | 
				
			||||||
        uses: actions/checkout@v3
 | 
					        uses: actions/checkout@v3
 | 
				
			||||||
      - name: Set up QEMU
 | 
					      - name: Set up QEMU
 | 
				
			||||||
@ -43,7 +47,7 @@ jobs:
 | 
				
			|||||||
          platforms: linux/amd64,linux/arm64,linux/arm/v7
 | 
					          platforms: linux/amd64,linux/arm64,linux/arm/v7
 | 
				
			||||||
          target: frigate
 | 
					          target: frigate
 | 
				
			||||||
          tags: |
 | 
					          tags: |
 | 
				
			||||||
            ghcr.io/blakeblackshear/frigate:${{ github.ref_name }}-${{ env.SHORT_SHA }}
 | 
					            ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}
 | 
				
			||||||
          cache-from: type=gha
 | 
					          cache-from: type=gha
 | 
				
			||||||
          cache-to: type=gha,mode=max
 | 
					          cache-to: type=gha,mode=max
 | 
				
			||||||
      - name: Build and push TensorRT
 | 
					      - name: Build and push TensorRT
 | 
				
			||||||
@ -54,5 +58,5 @@ jobs:
 | 
				
			|||||||
          platforms: linux/amd64
 | 
					          platforms: linux/amd64
 | 
				
			||||||
          target: frigate-tensorrt
 | 
					          target: frigate-tensorrt
 | 
				
			||||||
          tags: |
 | 
					          tags: |
 | 
				
			||||||
            ghcr.io/blakeblackshear/frigate:${{ github.ref_name }}-${{ env.SHORT_SHA }}-tensorrt
 | 
					            ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-tensorrt
 | 
				
			||||||
          cache-from: type=gha
 | 
					          cache-from: type=gha
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user