Skip to content

Commit cf7f700

Browse files
committed
Go back to only building the docker image if the image configuration changes
1 parent b4e1e6c commit cf7f700

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build-docker-image.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- 'build/dockerfile'
9+
- 'build/requirements.txt'
10+
- 'build/docker-compose.yml'
11+
- '.github/workflows/build-docker-image.yml'
712

813
jobs:
9-
build-and-push:
14+
build-and-push-docker-image:
1015
runs-on: ubuntu-latest
1116
permissions:
1217
contents: read

0 commit comments

Comments
 (0)