From 59ffa921db837b5dbd7fd1eed4be435b19a97163 Mon Sep 17 00:00:00 2001 From: AAPohl <82733706+AAPohl@users.noreply.github.com> Date: Sun, 3 Mar 2024 08:33:06 +0100 Subject: [PATCH] Create docker-image.yml --- .github/workflows/docker-image.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/docker-image.yml diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 0000000..867ce23 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,22 @@ +name: Docker Image CI + +on: push + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Build the Docker image + run: docker build . --file Dockerfile --tag knxd:latest + - name: Inspect Docker image + run: docker image inspect knxd:latest + - name: Run knxd Container + run: | + pwd + docker container knxd:latest + timeout-minutes: 1 + continue-on-error: true