Set targets

This commit is contained in:
Nick Mowen 2023-07-17 14:58:28 -06:00
parent 175ca43b1f
commit 03d6512bcc

View File

@ -61,7 +61,7 @@ jobs:
uses: docker/bake-action@v3 uses: docker/bake-action@v3
with: with:
push: true push: true
target: rpi targets: rpi
files: docker/rpi/bake.hcl files: docker/rpi/bake.hcl
set: | set: |
rpi.tags=ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-rpi rpi.tags=ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-rpi
@ -70,7 +70,7 @@ jobs:
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4
with: with:
push: true push: true
target: tensorrt targets: tensorrt
files: docker/tensorrt/bake.hcl files: docker/tensorrt/bake.hcl
set: | set: |
tensorrt.tags=ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-tensorrt tensorrt.tags=ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-tensorrt