diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 1cd3841..41e70d6 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -16,12 +16,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 - - name: Install Hadolint + - name: Install Docker Compose run: | - curl -LO https://github.com/hadolint/hadolint/releases/download/v2.12.0/hadolint-Linux-x86_64 - chmod +x hadolint-Linux-x86_64 - sudo mv hadolint-Linux-x86_64 /usr/local/bin/hadolint + sudo apt-get update + sudo apt-get install -y docker-compose - name: Lint all docker-compose files run: | - find . -name 'docker-compose.yml' -exec hadolint {} \; \ No newline at end of file + find . -name 'docker-compose.yml' -exec docker-compose -f {} config --quiet \; \ No newline at end of file