File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,16 @@ name: Build and publish Docker image
7
7
8
8
on :
9
9
workflow_dispatch :
10
+ push :
11
+ branches : ["main","devel"]
12
+ paths :
13
+ - ' .github/workflows/build-and-publish-image.yml'
10
14
pull_request :
11
15
branches : ["main","devel"]
12
16
types : [closed]
13
17
paths :
14
18
- ' .github/workflows/build-and-publish-image.yml'
19
+ - ' .devcontainer/devcontainer.json'
15
20
- ' Dockerfile'
16
21
- ' reinstall-cmake.sh'
17
22
- ' VERSION'
28
33
build-and-push-image :
29
34
if : |
30
35
github.event_name == 'workflow_dispatch' ||
31
- (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
36
+ github.event_name == 'push' ||
37
+ (github.event_name == 'pull_request' &&
38
+ github.event.pull_request.merged == true)
32
39
runs-on : ubuntu-latest
33
40
34
41
steps :
You can’t perform that action at this time.
0 commit comments