Skip to content

2023.12.0

2023.12.0 #6

Workflow file for this run

name: Build landingpage
on:
pull_request:
branches: ["main"]
release:
types: ["published"]
jobs:
build:
name: Build landingpage
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
strategy:
matrix:
machine:
- generic-x86-64
- intel-nuc
- khadas-vim3
- jethub-h1
- jethub-h2
- jethub-d1
- jethub-d1p
- odroid-c2
- odroid-c4
- qemuarm
- qemuarm-64
- qemux86
- qemux86-64
- raspberrypi4
- raspberrypi4-64
- raspberrypi5-64
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
if: github.event_name == 'release'
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set build arguments
if: github.event_name != 'release'
run: echo "BUILD_ARGS=--test" >> $GITHUB_ENV
- name: Build landingpage
uses: home-assistant/[email protected]
with:
args: |
$BUILD_ARGS \
--target /data \
--no-latest \
--cosign \
--machine landingpage=${{ matrix.machine }}