mirror of
https://github.com/AdrienPoupa/docker-compose-nas.git
synced 2024-11-21 10:46:10 +02:00
feat: add GitHub action to validate Compose file (#11)
feat: add GitHub action to validate Compose file
This commit is contained in:
parent
e33b45d695
commit
3495a9fc1d
13
.github/workflows/main.yml
vendored
Normal file
13
.github/workflows/main.yml
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
on: push
|
||||
jobs:
|
||||
validate-docker-compose:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Install Docker Compose
|
||||
uses: ndeloof/install-compose-action@v0.0.1
|
||||
- name: Setup Environment Variables
|
||||
run: cp .env.example .env
|
||||
- name: Validate Docker Compose
|
||||
run: docker-compose config
|
Loading…
Reference in New Issue
Block a user