Skip to content

Add Dockerfile

Add Dockerfile #2

Workflow file for this run

name: lint-dockerfiles
on:
push:
branches: [master]
paths:
- 'Dockerfile'
- .github/workflows/dockerfile.yml
pull_request:
types: [opened, synchronize]
paths:
- 'Dockerfile'
- .github/workflows/dockerfile.yml
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
jobs:
dockerfile:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Hadolint
run: |
curl -sSL -o hadolint "https://github.com/hadolint/hadolint/releases/download/2.12.0/hadolint-Linux-x86_64"
chmod +x hadolint
- name: Lint Dockerfiles
run: ./hadolint Dockerfile