add commit message option to skip docker image builds in ci (#1168) [skip ci]
Browse files
.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:
|