Add generalised tags to CI workflow

This commit is contained in:
Stephen Horvath 2023-06-07 18:25:36 +10:00
parent d1701e127e
commit 1bf3e40ac5
No known key found for this signature in database
GPG Key ID: 5699CA77662A532C

View File

@ -53,6 +53,7 @@ jobs:
target: frigate target: frigate
tags: | tags: |
ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}-${{ env.SHORT_SHA }} ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}
ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}
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
@ -64,4 +65,5 @@ jobs:
target: frigate-tensorrt target: frigate-tensorrt
tags: | tags: |
ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-tensorrt ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-tensorrt
ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}-tensorrt
cache-from: type=gha cache-from: type=gha