From 68366ca75c84b83c50794c49a20db8c74bb7cc6c Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Mon, 12 Feb 2024 22:23:15 -0800 Subject: [PATCH] #120 Init comprehensive compose config contraption --- .../.gitea/workflows/docker-compose-config.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 homelab/.gitea/workflows/docker-compose-config.yaml diff --git a/homelab/.gitea/workflows/docker-compose-config.yaml b/homelab/.gitea/workflows/docker-compose-config.yaml new file mode 100644 index 00000000..61b6ffb7 --- /dev/null +++ b/homelab/.gitea/workflows/docker-compose-config.yaml @@ -0,0 +1,17 @@ +name: Docker Compose Config +run-name: ${{ gitea.actor }} is linting docker-compose files +on: [push] + +jobs: + docker-compose-config: + runs-on: docker:25-dind + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Get location of all docker-compose.yaml files + run: | + for compose in $(find "$PWD"/ -name docker-compose.yml); do + cd $(dirname $compose) + docker compose config + done + - run: echo "Job status ${{ job.status }}" \ No newline at end of file