Skip to content

Commit

Permalink
ci: add manual triggers for docker builds
Browse files Browse the repository at this point in the history
  • Loading branch information
baixiac committed Feb 3, 2025
1 parent f6d7785 commit 5b5976b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/docker-extra.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: docker extra

on:
workflow_dispatch:
push:
branches: [ master ]
paths:
Expand Down Expand Up @@ -29,7 +30,7 @@ jobs:
if: |
github.repository == 'CogStack/CogStack-ModelServe' &&
github.ref == 'refs/heads/master' &&
github.event_name == 'push'
(github.event_name == 'push' || github.event_name == 'workflow_dispatch')
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: docker

on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
Expand All @@ -25,7 +26,7 @@ jobs:
if: |
github.repository == 'CogStack/CogStack-ModelServe' &&
github.ref == 'refs/heads/master' &&
github.event_name == 'push'
(github.event_name == 'push' || github.event_name == 'workflow_dispatch')
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down

0 comments on commit 5b5976b

Please sign in to comment.