Skip to content

Merge pull request #462 from nhsx/stats-update-1695618074 #660

Merge pull request #462 from nhsx/stats-update-1695618074

Merge pull request #462 from nhsx/stats-update-1695618074 #660

Workflow file for this run

name: Docker Image
on: [push]
jobs:
docker-lint:
runs-on: ubuntu-latest
container: hadolint/hadolint:latest-debian
steps:
- uses: actions/checkout@v2
- name: hadolint on all Dockerfiles
run: |
find infrastructure/container -name Dockerfile | xargs -I{} sh -c "echo Checking {}; hadolint {}"
find dashboard/ -name Dockerfile | xargs -I{} sh -c "echo Checking {}; hadolint {}"
- name: shellcheck on container scripts
env:
DEBIAN_FRONTEND: noninteractive
run: |
apt-get update && apt-get install -qy shellcheck
find infrastructure/container -name "*.sh" | xargs -I{} sh -c "echo Checking {}; shellcheck {}"