mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-02-14 00:17:05 +01:00
* Factor out common setup steps * Re-order * Split independent builds into parallel jobs * Cache jetson builds * Use zstd compression * Switch from gha cache to registry cache A CI run (four images cached with mode-max) populates the cache with 295 cache entries totalling 23.44 GB. This exceeds gha's 10GB limit, causing trashing. Try with a registry instead. * Enable manual CI runs
29 lines
614 B
YAML
29 lines
614 B
YAML
name: Maintain Cache
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "13 0 * * 0,4"
|
|
|
|
env:
|
|
PYTHON_VERSION: 3.9
|
|
|
|
jobs:
|
|
multi_arch_build:
|
|
runs-on: ubuntu-latest
|
|
name: Image Build
|
|
steps:
|
|
- name: Check out code
|
|
uses: actions/checkout@v3
|
|
- name: Set up QEMU and Buildx
|
|
uses: ./.github/actions/setup
|
|
with:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v4
|
|
with:
|
|
context: .
|
|
push: false
|
|
platforms: linux/amd64,linux/arm64
|
|
target: frigate
|
|
cache-from: type=gha
|