Skip to content

Commit

Permalink
Added a CI github action
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredeen committed Apr 18, 2024
1 parent 2a1694a commit 1961106
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
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)

0 comments on commit 1961106

Please sign in to comment.