Skip to content

Commit 5b5976b

Browse files
committed
ci: add manual triggers for docker builds
1 parent f6d7785 commit 5b5976b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/docker-extra.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: docker extra
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches: [ master ]
67
paths:
@@ -29,7 +30,7 @@ jobs:
2930
if: |
3031
github.repository == 'CogStack/CogStack-ModelServe' &&
3132
github.ref == 'refs/heads/master' &&
32-
github.event_name == 'push'
33+
(github.event_name == 'push' || github.event_name == 'workflow_dispatch')
3334
runs-on: ubuntu-latest
3435
permissions:
3536
contents: read

.github/workflows/docker.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: docker
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches: [ master ]
67
pull_request:
@@ -25,7 +26,7 @@ jobs:
2526
if: |
2627
github.repository == 'CogStack/CogStack-ModelServe' &&
2728
github.ref == 'refs/heads/master' &&
28-
github.event_name == 'push'
29+
(github.event_name == 'push' || github.event_name == 'workflow_dispatch')
2930
runs-on: ubuntu-latest
3031
permissions:
3132
contents: read

0 commit comments

Comments
 (0)