Skip to content

Commit

Permalink
add docker image release file
Browse files Browse the repository at this point in the history
Signed-off-by: Ye, Xinyu <[email protected]>
  • Loading branch information
XinyuYe-Intel committed Sep 20, 2024
1 parent f81d9e0 commit abc4bea
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/docker/compose/image2video-compose-cd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

# this file should be run in the root of the repo
# images used by GenAIExamples: image2video,svd,svd-gaudi
services:
image2video:
build:
dockerfile: comps/image2video/Dockerfile
image: ${REGISTRY:-opea}/image2video:${TAG:-latest}
svd:
build:
dockerfile: comps/image2video/dependency/Dockerfile
image: ${REGISTRY:-opea}/svd:${TAG:-latest}
svd-gaudi:
build:
dockerfile: comps/image2video/dependency/Dockerfile.intel_hpu
image: ${REGISTRY:-opea}/svd-gaudi:${TAG:-latest}
2 changes: 1 addition & 1 deletion comps/image2video/dependency/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ RUN apt-get update && apt-get install python3-opencv -y && \

ENV PYTHONPATH=$PYTHONPATH:/home

WORKDIR /home/comps/image2video/svd
WORKDIR /home/comps/image2video/dependency

ENTRYPOINT ["python", "svd_server.py"]
4 changes: 2 additions & 2 deletions tests/test_image2video.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ function validate_microservice() {
echo "Result correct."
else
echo "Result wrong."
docker logs test-comps-tts-speecht5
docker logs test-comps-tts
docker logs test-comps-image2video-svd
docker logs test-comps-image2video
exit 1
fi

Expand Down

0 comments on commit abc4bea

Please sign in to comment.