#120 Init comprehensive compose config contraption
This commit is contained in:
parent
6f41bb3a76
commit
d9537880bf
17
.gitea/workflows/docker-compose-config.yaml
Normal file
17
.gitea/workflows/docker-compose-config.yaml
Normal file
@ -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 }}"
|
Loading…
Reference in New Issue
Block a user