2024-02-12 22:23:15 -08:00
|
|
|
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
|
2024-02-12 22:23:15 -08:00
|
|
|
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)
|
2024-02-12 22:23:15 -08:00
|
|
|
done
|
|
|
|
- run: echo "Job status ${{ job.status }}"
|