Skip to content

Commit ebf76d1

Browse files
author
Mathieu Bour
committed
feat: exclude pure Makdown commits from triggering builds
1 parent 71de060 commit ebf76d1

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
name: Deploy to Docker Hub
22
on:
33
schedule:
4-
- cron: '0 10 * * *' # everyday at 10am
4+
- cron: '0 10 * * *'
55
push:
66
branches: [main]
77
tags: ['**']
8-
# paths: [Dockerfile, .github/workflow/deploy.yaml]
8+
paths-ignore: ['*.md']
99
pull_request:
10-
branches:
11-
- 'main'
10+
branches: [main]
1211
jobs:
1312
deploy:
1413
name: Build Docker image

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ This image comes with two flavours:
77
- `single` (or `latest`) to train models on a single node
88
- `parallel` which uses OpenMPI and optionally Horovod to train models on multiple nodes
99

10+
See the list of [available tags](https://hub.docker.com/r/csquareai/ml-default) for more information.
11+
1012
## Included software
1113

1214
### Basic programs
@@ -18,6 +20,8 @@ This image comes with two flavours:
1820
- [vim](https://www.vim.org)
1921
- [wget](https://www.gnu.org/software/wget)
2022

23+
If you need additional software, please [open an issue](https://github.com/csquare-ai/ml-default/issues/new)!
24+
2125
### Training frameworks/tools
2226

2327
See the [Dockerfile](./Dockerfile) for more details.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131
"build:single": "docker build --tag=csquareai/ml-default:single --target=single .",
3232
"build:parallel": "docker build --tag=csquareai/ml-default:parallel --target=parallel ."
3333
},
34-
"dependencies": {
35-
},
34+
"dependencies": {},
3635
"devDependencies": {
3736
"@csquare/prettier-config": "^1.1.2",
3837
"prettier": "^2.3.1",

0 commit comments

Comments
 (0)