mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-09 04:35:25 +03:00
more debug and try max space action
This commit is contained in:
parent
f1b6eaae0b
commit
9149b6dd60
24
.github/actions/setup/action.yml
vendored
24
.github/actions/setup/action.yml
vendored
@ -11,12 +11,24 @@ outputs:
|
|||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- name: Remove unnecessary files
|
- name: Show disk info
|
||||||
run: |
|
run: df -h
|
||||||
sudo rm -rf /usr/share/dotnet
|
- name: Show docker image info
|
||||||
sudo rm -rf /usr/local/lib/android
|
run: docker image ls --all
|
||||||
sudo rm -rf /opt/ghc
|
- name: Maximize build space
|
||||||
shell: bash
|
uses: easimon/maximize-build-space@master
|
||||||
|
with:
|
||||||
|
root-reserve-mb: 512
|
||||||
|
swap-size-mb: 1024
|
||||||
|
remove-dotnet: 'true'
|
||||||
|
remove-android: 'true'
|
||||||
|
remove-haskell: 'true'
|
||||||
|
remove-codeql: 'true'
|
||||||
|
remove-docker-images: 'true'
|
||||||
|
- name: Show disk info
|
||||||
|
run: df -h
|
||||||
|
- name: Show docker image info
|
||||||
|
run: docker image ls --all
|
||||||
- id: lowercaseRepo
|
- id: lowercaseRepo
|
||||||
uses: ASzc/change-string-case-action@v5
|
uses: ASzc/change-string-case-action@v5
|
||||||
with:
|
with:
|
||||||
|
|||||||
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -21,6 +21,8 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: AMD64 Build
|
name: AMD64 Build
|
||||||
steps:
|
steps:
|
||||||
|
- name: Show disk info
|
||||||
|
run: df -h
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Set up QEMU and Buildx
|
- name: Set up QEMU and Buildx
|
||||||
@ -28,6 +30,8 @@ jobs:
|
|||||||
uses: ./.github/actions/setup
|
uses: ./.github/actions/setup
|
||||||
with:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- name: Show disk info
|
||||||
|
run: df -h
|
||||||
- name: Build and push amd64 standard build
|
- name: Build and push amd64 standard build
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
@ -38,6 +42,8 @@ jobs:
|
|||||||
target: frigate
|
target: frigate
|
||||||
tags: ${{ steps.setup.outputs.image-name }}-amd64
|
tags: ${{ steps.setup.outputs.image-name }}-amd64
|
||||||
cache-from: type=registry,ref=${{ steps.setup.outputs.cache-name }}-amd64
|
cache-from: type=registry,ref=${{ steps.setup.outputs.cache-name }}-amd64
|
||||||
|
- name: Show disk info
|
||||||
|
run: df -h
|
||||||
- name: Show docker image info
|
- name: Show docker image info
|
||||||
run: docker image ls --all
|
run: docker image ls --all
|
||||||
- name: Build and push TensorRT (x86 GPU)
|
- name: Build and push TensorRT (x86 GPU)
|
||||||
@ -50,6 +56,8 @@ jobs:
|
|||||||
tensorrt.tags=${{ steps.setup.outputs.image-name }}-tensorrt
|
tensorrt.tags=${{ steps.setup.outputs.image-name }}-tensorrt
|
||||||
*.cache-from=type=registry,ref=${{ steps.setup.outputs.cache-name }}-amd64
|
*.cache-from=type=registry,ref=${{ steps.setup.outputs.cache-name }}-amd64
|
||||||
*.cache-to=type=registry,ref=${{ steps.setup.outputs.cache-name }}-amd64,mode=max
|
*.cache-to=type=registry,ref=${{ steps.setup.outputs.cache-name }}-amd64,mode=max
|
||||||
|
- name: Show disk info
|
||||||
|
run: df -h
|
||||||
- name: Show docker image info
|
- name: Show docker image info
|
||||||
run: docker image ls --all
|
run: docker image ls --all
|
||||||
- name: AMD/ROCm general build
|
- name: AMD/ROCm general build
|
||||||
@ -64,6 +72,8 @@ jobs:
|
|||||||
set: |
|
set: |
|
||||||
rocm.tags=${{ steps.setup.outputs.image-name }}-rocm
|
rocm.tags=${{ steps.setup.outputs.image-name }}-rocm
|
||||||
*.cache-from=type=gha
|
*.cache-from=type=gha
|
||||||
|
- name: Show disk info
|
||||||
|
run: df -h
|
||||||
- name: Show docker image info
|
- name: Show docker image info
|
||||||
run: docker image ls --all
|
run: docker image ls --all
|
||||||
- name: AMD/ROCm gfx900
|
- name: AMD/ROCm gfx900
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user