docker.yml 917 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. name: Docker
  2. on:
  3. push:
  4. branches:
  5. - "master"
  6. pull_request:
  7. paths:
  8. - "compose.yaml"
  9. - "Dockerfile"
  10. - "docker/**"
  11. - ".github/workflows/docker.yml"
  12. # Allow running on demand using Github UI
  13. workflow_dispatch:
  14. schedule:
  15. - cron: "0 5 * * *"
  16. jobs:
  17. docker-compose-build:
  18. name: Compose build ${{ matrix.docker-service }}
  19. runs-on: ubuntu-latest
  20. strategy:
  21. matrix:
  22. include:
  23. - docker-service: 'php-7.4'
  24. - docker-service: 'php-8.0'
  25. - docker-service: 'php-8.1'
  26. - docker-service: 'php-8.2'
  27. - docker-service: 'php-8.3'
  28. - docker-service: 'sphinx-lint'
  29. - docker-service: 'markdown-lint'
  30. steps:
  31. - name: Checkout repository
  32. uses: actions/checkout@v4
  33. - name: Docker Compose build
  34. run: docker compose build --no-cache --pull ${{ matrix.docker-service }}