mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 17:55:21 +03:00
try build-push-action
This commit is contained in:
parent
3386887838
commit
dce1dc1d03
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@ -27,7 +27,12 @@ jobs:
|
|||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Build image
|
- name: Build and push
|
||||||
run: make push
|
uses: docker/build-push-action@v3
|
||||||
env:
|
with:
|
||||||
IMAGE_REPO: ghcr.io/${{ github.actor }}/frigate
|
context: .
|
||||||
|
push: true
|
||||||
|
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||||
|
tags: "ghcr.io/blakeblackshear/frigate:${GITHUB_REF_NAME}-${GITHUB_SHA::7}"
|
||||||
|
cache-from: type=gha
|
||||||
|
cache-to: type=gha,mode=max
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user