Update redis:7-alpine Docker digest to c1e8845 #924
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@v42 | |
with: | |
files: | | |
**/docker-compose.yml | |
**/docker-compose.yaml | |
- name: Test docker-compose files | |
env: | |
DOCKER_DEFAULT_PLATFORM: aarch64 | |
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 |