Skip to content

Fix matrix

Fix matrix #7

Workflow file for this run

# Home Assistant Operating System build workflow
name: JH Development build
on:
push:
branches:
- master
workflow_dispatch:
jobs:
prepare:
name: Prepare build
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
packages: write
strategy:
fail-fast: false
matrix:
platform:
- linux/amd64
- linux/arm/v7
- linux/arm64
steps:
- name: Checkout source
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Docker Buildx
uses: docker/[email protected]
- name: Log in to the GitHub container registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push
uses: docker/[email protected]
id: build_haos_builder
with:
context: "{{defaultContext}}:develcontainer"
file: Dockerfile
tags: ghcr.io/${{ github.repository_owner }}/develcontainer
cache-from: ghcr.io/${{ github.repository_owner }}/develcontainer:cache
cache-to: ghcr.io/${{ github.repository_owner }}/develcontainer:cache
platforms: ${{ matrix.platform }}
push: true