Compare commits

...
3 Commits
2 changed files with 6 additions and 0 deletions
+2
View File
@@ -4,6 +4,8 @@ inputs:
GITHUB_TOKEN: GITHUB_TOKEN:
required: true required: true
outputs: outputs:
short-sha:
value: ${{ steps.create-short-sha.outputs.SHORT_SHA }}
image-name: image-name:
value: ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ steps.create-short-sha.outputs.SHORT_SHA }} value: ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ steps.create-short-sha.outputs.SHORT_SHA }}
cache-name: cache-name:
+4
View File
@@ -37,6 +37,8 @@ jobs:
context: . context: .
file: docker/main/Dockerfile file: docker/main/Dockerfile
push: true push: true
build-args:
GIT_COMMIT_HASH=${{ steps.setup.outputs.short-sha }}
platforms: linux/amd64 platforms: linux/amd64
target: frigate target: frigate
tags: ${{ steps.setup.outputs.image-name }}-amd64 tags: ${{ steps.setup.outputs.image-name }}-amd64
@@ -61,6 +63,8 @@ jobs:
context: . context: .
file: docker/main/Dockerfile file: docker/main/Dockerfile
push: true push: true
build-args:
GIT_COMMIT_HASH=${{ steps.setup.outputs.short-sha }}
platforms: linux/arm64 platforms: linux/arm64
target: frigate target: frigate
tags: | tags: |