Skip to content

Commit 6ae5c56

Browse files
committed
Add workflow to build docker image during PRs if Dockerfile changed
1 parent b7855fc commit 6ae5c56

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Test docker image build
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- 'Dockerfile'
7+
8+
jobs:
9+
build-docker-image:
10+
uses: shlinkio/github-actions/.github/workflows/docker-image-build-ci.yml@main

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ jobs:
1010
ci:
1111
uses: shlinkio/github-actions/.github/workflows/web-app-ci.yml@main
1212
with:
13-
node-version: 22.4
13+
node-version: 22.x
1414
with-unit-tests: false

0 commit comments

Comments
 (0)