mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-20 12:33:00 +03:00
Add build argument for GIT_COMMIT_HASH in CI workflow
This commit is contained in:
@@ -37,6 +37,7 @@ jobs:
|
||||
context: .
|
||||
file: docker/main/Dockerfile
|
||||
push: true
|
||||
build-args: GIT_COMMIT_HASH=${GITHUB_SHA::7}
|
||||
platforms: linux/amd64
|
||||
target: frigate
|
||||
tags: ${{ steps.setup.outputs.image-name }}-amd64
|
||||
@@ -61,6 +62,7 @@ jobs:
|
||||
context: .
|
||||
file: docker/main/Dockerfile
|
||||
push: true
|
||||
build-args: GIT_COMMIT_HASH=${GITHUB_SHA::7}
|
||||
platforms: linux/arm64
|
||||
target: frigate
|
||||
tags: |
|
||||
|
||||
Reference in New Issue
Block a user