fix build.sh

This commit is contained in:
John Doe
2025-11-21 18:37:48 -05:00
parent f91d306048
commit 2efba4cee6
2 changed files with 5 additions and 3 deletions

View File

@@ -24,6 +24,8 @@ RUN mkdir -p build && cd build && \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON && \
cmake --build . --config Release
# Clone sd.cpp-webui and place the binary in its folder as per instructions
WORKDIR /
RUN git clone https://github.com/daniandtheweb/sd.cpp-webui.git /sd-webui

View File

@@ -103,8 +103,8 @@ echo -e "${BLUE}----------------------------------------${NC}"
echo ""
print_step "Building Stable Diffusion ROCm 7.1 image..."
echo -e "${YELLOW}Command: podman build -t stable-diffusion.cpp-rocm7.1-gfx1151:latest -f Dockerfile.stable-diffusion.cpp-rocm7.1-gfx1151${NC}"
if podman build -t stable-diffusion.cpp-rocm7.1-gfx1151:latest -f Dockerfile.stable-diffusion.cpp-rocm7.1-gfx1151; then
echo -e "${YELLOW}Command: podman build -t stable-diffusion.cpp-rocm7.1:gfx1151 -f Dockerfile.stable-diffusion.cpp-rocm7.1-gfx1151${NC}"
if podman build -t stable-diffusion.cpp-rocm7.1:gfx1151 -f Dockerfile.stable-diffusion.cpp-rocm7.1-gfx1151; then
print_success "Stable Diffusion ROCm 7.1 image built successfully"
else
print_error "Failed to build Stable Diffusion ROCm 7.1 image"
@@ -120,7 +120,7 @@ else
fi
print_step "Pushing Stable Diffusion image to registry..."
if podman push ${REGISTRY}/stable-diffusion.cpp-rocm7.1-gfx1151:latest; then
if podman push ${REGISTRY}/stable-diffusion.cpp-rocm7.1-gfx1151:gfx1151; then
print_success "Pushed: ${REGISTRY}/stable-diffusion.cpp-rocm7.1:gfx1151"
else
print_error "Failed to push Stable Diffusion image"