This repository has been archived by the owner on Feb 17, 2024. It is now read-only.
Update postgres:12.18-alpine Docker digest to de1426a #1694
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test docker-compose files | |
on: | |
pull_request: | |
paths: | |
- '**/docker-compose.yml' | |
- '**/docker-compose.yaml' | |
## Thanks Bing AI! | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install Compose | |
uses: ndeloof/[email protected] | |
- run: docker compose --version | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@v41 | |
with: | |
files: | | |
**/docker-compose.yml | |
**/docker-compose.yaml | |
- name: Test docker-compose files | |
run: | | |
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do | |
echo "Testing $file" | |
docker compose -f $file config | |
docker compose -f $file pull | |
done |