Skip to content

Commit e2b375d

Browse files
authored
unnecessary files no longer trigger Docker CI
1 parent 000d297 commit e2b375d

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/docker-push.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,24 @@
22
name: Docker Image CI
33

44
on:
5-
push:
5+
push:
6+
paths-ignore:
7+
- 'README.md'
8+
- '.github/**'
9+
- '.dockerignore'
10+
- 'docker-compose.yml'
11+
- 'Dockerfile'
612
tags:
713
- v*
814
branches:
915
- main
10-
pull_request:
16+
pull_request:
17+
paths-ignore:
18+
- 'README.md'
19+
- '.github/**'
20+
- '.dockerignore'
21+
- 'docker-compose.yml'
22+
- 'Dockerfile'
1123
branches:
1224
- main
1325

@@ -38,4 +50,4 @@ jobs:
3850
uses: docker/build-push-action@v2
3951
with:
4052
push: true
41-
tags: brayanbot/brayanbot:latest
53+
tags: brayanbot/brayanbot:latest

0 commit comments

Comments
 (0)