Skip to content

JH Development build #1

JH Development build

JH Development build #1

Workflow file for this run

# Home Assistant Operating System build workflow
name: JH Development build
on:
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: 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
push: true