mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-06 13:34:13 +03:00
Add build argument for GIT_COMMIT_HASH in CI workflow
This commit is contained in:
parent
332487d711
commit
230a397d0f
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -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: |
|
||||
|
||||
Loading…
Reference in New Issue
Block a user