21 lines
623 B
YAML
21 lines
623 B
YAML
name: Docker Compose Config
|
|
run-name: ${{ gitea.actor }} is linting docker-compose files
|
|
on: [push]
|
|
|
|
jobs:
|
|
docker-compose-config:
|
|
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
|
|
echo $(dirname $compose)/
|
|
done
|
|
- name: Compose Config
|
|
uses: actions-hub/docker/cli@master
|
|
env:
|
|
SKIP_LOGIN: true
|
|
- run: docker compose version
|
|
- run: echo "Job status ${{ job.status }}" |