mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-07 05:54:10 +03:00
Update build args to use short SHA output
This commit is contained in:
parent
78c3108d94
commit
52e6fbebd2
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -37,7 +37,8 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
file: docker/main/Dockerfile
|
file: docker/main/Dockerfile
|
||||||
push: true
|
push: true
|
||||||
build-args: GIT_COMMIT_HASH=${GITHUB_SHA::7}
|
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
|
||||||
@ -62,7 +63,8 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
file: docker/main/Dockerfile
|
file: docker/main/Dockerfile
|
||||||
push: true
|
push: true
|
||||||
build-args: GIT_COMMIT_HASH=${GITHUB_SHA::7}
|
build-args:
|
||||||
|
GIT_COMMIT_HASH=${{ steps.setup.outputs.short-sha }}
|
||||||
platforms: linux/arm64
|
platforms: linux/arm64
|
||||||
target: frigate
|
target: frigate
|
||||||
tags: |
|
tags: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user