Add workflow to build docker image during PRs if Dockerfile changed

This commit is contained in:
Alejandro Celaya 2024-10-26 10:32:28 +02:00
parent 61a679b7cb
commit 83ca5b23f5
3 changed files with 11 additions and 2 deletions

View file

@ -0,0 +1,10 @@
name: Test docker image build
on:
pull_request:
paths:
- 'Dockerfile'
jobs:
build-docker-image:
uses: shlinkio/github-actions/.github/workflows/docker-image-build-ci.yml@main

1
.gitignore vendored
View file

@ -7,6 +7,7 @@
# production
/build
/dist
npm-debug.log*

2
dist/.gitignore vendored
View file

@ -1,2 +0,0 @@
*
!.gitignore