mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 01:35:22 +03:00
Fix CI
This commit is contained in:
parent
0008f311e9
commit
26a681d54a
@ -10,3 +10,7 @@ core
|
||||
*.jpg
|
||||
*.db
|
||||
*.ts
|
||||
|
||||
web/dist/
|
||||
web/node_modules/
|
||||
web/.npm
|
||||
|
||||
2
.github/workflows/pull_request.yml
vendored
2
.github/workflows/pull_request.yml
vendored
@ -70,8 +70,6 @@ jobs:
|
||||
uses: docker/setup-qemu-action@v2
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
- name: Create Version Module
|
||||
run: make version
|
||||
- name: Build
|
||||
run: make
|
||||
- name: Run mypy
|
||||
|
||||
9
Makefile
9
Makefile
@ -8,15 +8,12 @@ CURRENT_GID := $(shell id -g)
|
||||
version:
|
||||
echo "VERSION=\"$(VERSION)-$(COMMIT_HASH)\"" > frigate/version.py
|
||||
|
||||
local: version
|
||||
docker buildx build --tag frigate:latest --load .
|
||||
|
||||
build_web:
|
||||
docker buildx build --target web-dist --output web/dist .
|
||||
|
||||
nginx_frigate:
|
||||
docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag blakeblackshear/frigate-nginx:1.0.2.nginx .
|
||||
|
||||
local:
|
||||
docker buildx build --tag frigate:latest .
|
||||
|
||||
amd64:
|
||||
docker buildx build --platform linux/amd64 --tag blakeblackshear/frigate:$(VERSION)-$(COMMIT_HASH) .
|
||||
|
||||
|
||||
@ -1,3 +0,0 @@
|
||||
.git/
|
||||
dist/
|
||||
node_modules/
|
||||
Loading…
Reference in New Issue
Block a user