This commit is contained in:
Felipe Santos 2022-11-14 20:04:49 -03:00
parent 0008f311e9
commit 26a681d54a
4 changed files with 8 additions and 12 deletions

View File

@ -9,4 +9,8 @@ core
*.mp4
*.jpg
*.db
*.ts
*.ts
web/dist/
web/node_modules/
web/.npm

View File

@ -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

View File

@ -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) .

View File

@ -1,3 +0,0 @@
.git/
dist/
node_modules/