homelab/.gitea/workflows/docker-compose-config.yaml

16 lines
473 B
YAML
Raw Normal View History

name: Docker Compose Config
run-name: ${{ gitea.actor }} is linting docker-compose files
on: [push]
jobs:
docker-compose-config:
2024-02-12 22:24:48 -08:00
runs-on: ubuntu-latest
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
2024-02-12 22:24:48 -08:00
echo $(dirname $compose)
done
- run: echo "Job status ${{ job.status }}"