File movement + add Gitea OPS
This commit is contained in:
parent
1bf310e150
commit
908fb2a426
27
.gitea.yml
Normal file
27
.gitea.yml
Normal 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 {} \;
|
Loading…
Reference in New Issue
Block a user