winglian commited on
Commit
0f77b8d
1 Parent(s): 32580c1

add commit message option to skip docker image builds in ci (#1168) [skip ci]

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +2 -2
.github/workflows/main.yml CHANGED
@@ -7,7 +7,7 @@ on:
7
 
8
  jobs:
9
  build-axolotl:
10
- if: github.repository_owner == 'OpenAccess-AI-Collective'
11
  # this job needs to be run on self-hosted GPU runners...
12
  strategy:
13
  fail-fast: false
@@ -79,7 +79,7 @@ jobs:
79
 
80
  build-axolotl-runpod:
81
  needs: build-axolotl
82
- if: github.repository_owner == 'OpenAccess-AI-Collective'
83
  # this job needs to be run on self-hosted GPU runners...
84
  strategy:
85
  matrix:
 
7
 
8
  jobs:
9
  build-axolotl:
10
+ if: ${{ ! contains(github.event.commits[0].message, '[skip docker]]') && github.repository_owner == 'OpenAccess-AI-Collective' }}
11
  # this job needs to be run on self-hosted GPU runners...
12
  strategy:
13
  fail-fast: false
 
79
 
80
  build-axolotl-runpod:
81
  needs: build-axolotl
82
+ if: ${{ ! contains(github.event.commits[0].message, '[skip docker]]') && github.repository_owner == 'OpenAccess-AI-Collective' }}
83
  # this job needs to be run on self-hosted GPU runners...
84
  strategy:
85
  matrix: