Skip to content

Added a CI github action #1

Added a CI github action

Added a CI github action #1

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/[email protected]
with:
dockerfile: "Dockerfile*"
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --tag ci:$(date +%s)