chore(deps): update traefik:v3.1 docker digest to 3f92eba #1
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: Lint Docker Compose | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- '**/traefik-letsencrypt-bookstack-docker-compose.yml' | |
- '**/env' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 # Fetch enough history to ensure comparisons work | |
- name: Set up Docker | |
uses: docker/setup-buildx-action@v3 | |
- name: Install Docker Compose | |
run: | | |
sudo apt-get update | |
sudo apt-get install docker-compose -y | |
- name: Verify .env files | |
run: | | |
find . -name ".env" -print | |
- name: Find and lint Docker Compose files | |
run: | | |
find . -name "traefik-letsencrypt-bookstack-docker-compose.yml" | while read file; do | |
env_file=$(dirname "$file")/.env | |
if [ -f "$env_file" ]; then | |
echo "Using .env file at: $env_file" | |
docker-compose --env-file "$env_file" -f "$file" config -q | |
else | |
echo "Warning: .env file not found at: $env_file" | |
fi | |
done |