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
77
88on :
99 workflow_dispatch :
10+ push :
11+ branches : ["main","devel"]
12+ paths :
13+ - ' .github/workflows/build-and-publish-image.yml'
1014 pull_request :
1115 branches : ["main","devel"]
1216 types : [closed]
1317 paths :
1418 - ' .github/workflows/build-and-publish-image.yml'
19+ - ' .devcontainer/devcontainer.json'
1520 - ' Dockerfile'
1621 - ' reinstall-cmake.sh'
1722 - ' VERSION'
2833 build-and-push-image :
2934 if : |
3035 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)
3239 runs-on : ubuntu-latest
3340
3441 steps :
You can’t perform that action at this time.
0 commit comments