fix docs build

This commit is contained in:
Josh Hawkins 2025-03-16 11:57:08 -05:00
parent e0ac2233d3
commit d75e04a378

View File

@ -13,7 +13,7 @@ The community support boards framework allows a user in the community to be the
## Getting Started ## Getting Started
1. Follow the steps from [the main contributing docs](/development/contributing.md). 1. Follow the steps from [the main contributing docs](development/contributing.md).
2. Create a new build type under `docker/` 2. Create a new build type under `docker/`
3. Get build working as expected, all board-specific changes should be done inside of the board specific docker file. 3. Get build working as expected, all board-specific changes should be done inside of the board specific docker file.
@ -72,17 +72,17 @@ COPY --from=rootfs / /
The images for each board will be built for each Frigate release, this is done in the `.github/workflows/ci.yml` file. The board build workflow will need to be added here. The images for each board will be built for each Frigate release, this is done in the `.github/workflows/ci.yml` file. The board build workflow will need to be added here.
```yml ```yml
- name: Build and push board build - name: Build and push board build
uses: docker/bake-action@v3 uses: docker/bake-action@v3
with: with:
push: true push: true
targets: board # this is the target in the board.hcl file targets: board # this is the target in the board.hcl file
files: docker/board/board.hcl # this should be updated with the actual board type files: docker/board/board.hcl # this should be updated with the actual board type
# the tags should be updated with the actual board types as well # the tags should be updated with the actual board types as well
# the community board builds should never push to cache, but it can pull from cache # the community board builds should never push to cache, but it can pull from cache
set: | set: |
board.tags=ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-board board.tags=ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-board
*.cache-from=type=gha *.cache-from=type=gha
``` ```
### Code Owner File ### Code Owner File