Skip to content

Added a hadolint conf file. Set failure threshold to warning. #34

Added a hadolint conf file. Set failure threshold to warning.

Added a hadolint conf file. Set failure threshold to warning. #34

Workflow file for this run

name: CI
on:
push:
branches: [ "develop" ]
paths-ignore:
- '**.md'
pull_request:
branches: [ "develop" ]
paths-ignore:
- '**.md'
# Adds ability to run this workflow manually
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
env:
HADOLINT_RECURSIVE: "true"
steps:
- uses: actions/checkout@v3
- uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: "Dockerfile*"
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build source --file source/Dockerfile --tag ci:$(date +%s)