Skip to content

Commit

Permalink
Create docker_test_build.yml (#41)
Browse files Browse the repository at this point in the history
automatic test builds dockerfile on pull request. This will prevent merging to master if Dockerfile fails to build correctly.
  • Loading branch information
dthoward96 authored Mar 8, 2024
1 parent b5a3a41 commit 6e95bd3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/docker_test_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build test Docker image

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile

0 comments on commit 6e95bd3

Please sign in to comment.