From 47768110bd59a19642303a6c9deb8380516384c7 Mon Sep 17 00:00:00 2001 From: Georg Ledermann Date: Mon, 11 Dec 2023 07:51:05 +0100 Subject: [PATCH] Add docker-compose validation --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..1abf4fc --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: CI + +on: + push: + +jobs: + docker: + timeout-minutes: 5 + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Validate compose files + run: | + docker-compose -f guide/external-server/docker-compose.yml config -q + docker-compose -f guide/mqtt-evcc/docker-compose.yml config -q + docker-compose -f guide/mqtt-iobroker/docker-compose.yml config -q + docker-compose -f guide/raspberry-pi/docker-compose.yml config -q + docker-compose -f guide/synology/docker-compose.yml config -q