Skip to content

Commit

Permalink
fix(tgwui): GH action build
Browse files Browse the repository at this point in the history
  • Loading branch information
marchuk-vlad committed Nov 26, 2024
1 parent fa3f87f commit 3406488
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
if [[ "$SOLUTION" == *cpu ]]; then
BUILD_ARGS="--build-arg GPU_CHOICE=N"
elif [[ "$SOLUTION" == *gpu ]]; then
BUILD_ARGS="--build-arg GPU_CHOICE=N"
BUILD_ARGS="--build-arg GPU_CHOICE=A"
fi
elif [ "$SOLUTION" == "comfyui" ]; then
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
- name: Build Docker image and save to file
run: |
IMAGE_FILE="$SOLUTION-image-b${{ github.run_id }}.tar.gz"
docker build -t $SOLUTION:latest -f "$DOCKERFILE" "$BUILD_ARGS" "$DOCKERFILE_CONTEXT"
docker build -t $SOLUTION:latest -f "$DOCKERFILE" $(echo $BUILD_ARGS) "$DOCKERFILE_CONTEXT"
docker save $SOLUTION:latest | gzip > $IMAGE_FILE
echo "IMAGE_FILE=$IMAGE_FILE" >> $GITHUB_ENV
Expand Down
2 changes: 2 additions & 0 deletions Text Generation WebUI/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM node:20-bookworm AS builder

ARG GPU_CHOICE

WORKDIR /home/node/app

COPY . /home/node/app
Expand Down

0 comments on commit 3406488

Please sign in to comment.