Merge pull request #4455 from broadinstitute/vlm-directory #125
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: Dockerfile Linting | |
# Run the test suite on pushes (incl. merges) to master and dev | |
# Run the test suite when a PR is opened, pushed to, or reopened | |
on: | |
push: | |
branches: | |
- dev | |
- master | |
paths: | |
- deploy/docker/seqr/Dockerfile | |
- hail_search/deploy/Dockerfile | |
- vlm/deploy/Dockerfile | |
- .hadolint.yaml | |
- .docker-compose.yaml | |
- .github/workflows/docker-lint.yaml | |
pull_request: | |
types: [opened, synchronize, reopened] | |
branches: | |
- dev | |
- master | |
paths: | |
- deploy/docker/seqr/Dockerfile | |
- hail_search/deploy/Dockerfile | |
- vlm/deploy/Dockerfile | |
- .hadolint.yaml | |
- .docker-compose.yaml | |
- .github/workflows/docker-lint.yaml | |
jobs: | |
hadolint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Validate docker compose | |
run: docker compose -f docker-compose.yml config | |
- uses: hadolint/[email protected] | |
with: | |
dockerfile: deploy/docker/seqr/Dockerfile | |
- uses: hadolint/[email protected] | |
with: | |
dockerfile: hail_search/deploy/Dockerfile | |
- uses: hadolint/[email protected] | |
with: | |
dockerfile: vlm/deploy/Dockerfile |