This commit is contained in:
XXXXRT666 2025-04-29 19:41:24 +01:00
parent 76a20109bf
commit 10603e0d22
3 changed files with 5 additions and 3 deletions

View File

@ -37,7 +37,7 @@ jobs:
USE_FUNASR=true
USE_FASTERWHISPER=false
CUDA_VERSION=12.4
WGET_CMD="wget -nv --tries=25 --wait=5 --read-timeout=40 --retry-on-http-error=404"
WGET_CMD=wget -nv --tries=25 --wait=5 --read-timeout=40 --retry-on-http-error=404
tags: |
xxxxrt666/gpt-sovits:lite-cu124-${{ steps.meta.outputs.tag }}
xxxxrt666/gpt-sovits:latest-lite
@ -54,7 +54,7 @@ jobs:
USE_FUNASR=true
USE_FASTERWHISPER=true
CUDA_VERSION=12.4
WGET_CMD="wget -nv --tries=25 --wait=5 --read-timeout=40 --retry-on-http-error=404"
WGET_CMD=wget -nv --tries=25 --wait=5 --read-timeout=40 --retry-on-http-error=404
tags: |
xxxxrt666/gpt-sovits:cu124-${{ steps.meta.outputs.tag }}
xxxxrt666/gpt-sovits:latest

View File

@ -28,7 +28,7 @@ WORKDIR /workspace/GPT-SoVITS
COPY . /workspace/GPT-SoVITS
ARG WGET_CMD="wget --tries=25 --wait=5 --read-timeout=40 --retry-on-http-error=404"
ARG WGET_CMD
RUN eval "$WGET_CMD -O anaconda.sh https://repo.anaconda.com/archive/Anaconda3-2024.10-1-Linux-x86_64.sh" && \
bash anaconda.sh -b -p /root/anaconda3 && \

View File

@ -16,6 +16,7 @@ trap 'echo "Error Occured at \"$BASH_COMMAND\" with exit code $?"; exit 1' ERR
USE_FUNASR=false
USE_FASTERWHISPER=false
CUDA_VERSION=12.4
WGET_CMD="wget --tries=25 --wait=5 --read-timeout=40 --retry-on-http-error=404"
print_help() {
echo "Usage: bash docker_build.sh [OPTIONS]"
@ -78,5 +79,6 @@ docker build \
--build-arg CUDA_VERSION=$CUDA_VERSION \
--build-arg USE_FUNASR=$USE_FUNASR \
--build-arg USE_FASTERWHISPER=$USE_FASTERWHISPER \
--build-arg WGET_CMD="$WGET_CMD" \
-t "${USER}/gpt-sovits:local" \
.