Skip to content

Update Dockerfile to latest #36

Update Dockerfile to latest

Update Dockerfile to latest #36

Workflow file for this run

---
name: Linters and formatters
on: # yamllint disable-line rule:truthy
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Terraform linter
run: |
terraform version
terraform fmt -check -recursive
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install yamllint
run: pip install yamllint
- name: YAML linter
run: |
yamllint --strict .
- name: Dockerfile linter
run: |
docker run --rm -i ghcr.io/hadolint/hadolint < src/grafana/Dockerfile
docker run --rm -i ghcr.io/hadolint/hadolint < src/postgres/Dockerfile