Skip to content

Commit c21a86d

Browse files
committed
Add ignore to Github Action to not build an image for non trivial files
1 parent 3214170 commit c21a86d

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,22 @@ on:
66
- main
77
tags:
88
- 'v*'
9+
paths:
10+
- 'Dockerfile'
11+
- 'docker-entrypoint.sh'
12+
- '.github/workflows/docker-publish.yml'
13+
paths-ignore:
14+
- '**.md'
15+
- 'LICENSE'
16+
- '.gitignore'
17+
- 'docker-compose*.yml'
18+
- 'env.example'
919
pull_request:
1020
branches:
1121
- main
22+
paths:
23+
- 'Dockerfile'
24+
- 'docker-entrypoint.sh'
1225
workflow_dispatch:
1326
inputs:
1427
mybb_version:

0 commit comments

Comments
 (0)