Update postgres:14.15-alpine Docker digest to f0b81e9 #84
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@v4 | |
- name: Install Compose | |
uses: ndeloof/[email protected] | |
- run: docker compose --version | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@v43 | |
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 |