forked from erew123/alltalk_tts
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Building and publishing alltalk docker image
- Loading branch information
1 parent
8e6e18f
commit 34e0654
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: DeepSpeed Build | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
tag: | ||
description: 'The tag of the docker image to use for build' | ||
required: true | ||
default: 'paladinium/alltalk_deepspeed:latest' | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Run the build process with Docker | ||
uses: addnab/docker-run-action@v3 | ||
with: | ||
image: ${{ github.event.inputs.tag }} | ||
options: -v ${{ github.workspace }}/build:/deepspeed | ||
run: | | ||
/build_deepspeed.sh | ||
- name: Upload whl as artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: 'deepspeed-whl' | ||
path: ${{ github.workspace }}/build/*.whl |