File movement + add Gitea OPS

This commit is contained in:
Nyan404 2024-10-07 10:52:23 +03:00
parent 1bf310e150
commit 908fb2a426
2 changed files with 27 additions and 0 deletions

27
.gitea.yml Normal file
View File

@ -0,0 +1,27 @@
name: Verify Docker Compose Files
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint-docker-compose:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install docker-compose-linter
run: |
curl -LO https://github.com/rrreeeyyy/docker-compose-linter/releases/download/v0.3.0/docker-compose-linter-linux
chmod +x docker-compose-linter-linux
sudo mv docker-compose-linter-linux /usr/local/bin/docker-compose-linter
- name: Lint all docker-compose files
run: |
find . -name 'docker-compose.yml' -exec docker-compose-linter {} \;