-
Notifications
You must be signed in to change notification settings - Fork 1
22 lines (21 loc) · 1.07 KB
/
test_docker_build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Integration test that runs the docker build and ensures that things build properly
name: build
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Verify that the Docker compose builds
run: docker compose config
- name: Run projectatomic's dockerfile_lint on the iSB Dockerfile (https://github.com/projectatomic/dockerfile_lint)
run: docker run --rm -v $PWD:/root/ projectatomic/dockerfile-lint dockerfile_lint -f isb/Dockerfile
- name: Run projectatomic's dockerfile_lint on the Solr Dockerfile (https://github.com/projectatomic/dockerfile_lint)
run: docker run --rm -v $PWD:/root/ projectatomic/dockerfile-lint dockerfile_lint -f solr/Dockerfile
- name: Run projectatomic's dockerfile_lint on the PostgreSQL Dockerfile (https://github.com/projectatomic/dockerfile_lint)
run: docker run --rm -v $PWD:/root/ projectatomic/dockerfile-lint dockerfile_lint -f postgres/Dockerfile