Skip to content

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
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:jammy,ghcr.io/${{ github.repository_owner }}/develcontainer:latest
cache-from: ghcr.io/${{ github.repository_owner }}/develcontainer:cache
cache-to: ghcr.io/${{ github.repository_owner }}/develcontainer:cache
platforms: linux/amd64,linux/arm64
push: true