Skip to content

Add openHAB 5 support (#451) #68

Add openHAB 5 support (#451)

Add openHAB 5 support (#451) #68

Workflow file for this run

name: Build images
on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
tag: ["latest", "snapshot"]
distribution: ["alpine", "debian"]
name: ${{ matrix.tag }}-${{ matrix.distribution }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Lint Dockerfile
uses: hadolint/[email protected]
with:
dockerfile: ${{ matrix.distribution }}/Dockerfile
config: ".github/hadolint.yml"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build images
run: ./build ${{ matrix.tag }} ${{ matrix.distribution }}