Skip to content

Update prom/prometheus Docker tag to v2.52.0 #62

Update prom/prometheus Docker tag to v2.52.0

Update prom/prometheus Docker tag to v2.52.0 #62

name: validate compose
on:
pull_request:
paths:
- 'docker-compose.yml'
- '.github/workflows/validate-compose.yml'
jobs:
validate-compose:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/setup-node@v4.0.2
- name: validate
shell: bash
run: |
shopt -s globstar
set -eux
for f in **/docker-compose.yml; do
if ! docker compose --file "$f" config --quiet; then
exit 1
fi
done
exit 0