File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,13 +56,19 @@ jobs:
5656 cd $dir
5757 echo "Building base image for $dockerfile"
5858 git checkout origin/${{ github.base_ref }}
59+ echo "Base: ${{ github.base_ref }}"
60+ echo "::group::Build image_base"
5961 docker build -f "$file" -t "$image_base" --no-cache .
62+ echo "::endgroup::"
6063 cat $file
6164 size_base=$(docker image inspect "$image_base" | jq '.[0].Size / (1024 * 1024) | round')
6265
6366 echo "Building PR image for $dockerfile"
6467 git checkout $merged_commit
68+ echo "PR: $merged_commit"
69+ echo "::group::Build image_pr"
6570 docker build -f "$file" -t "$image_pr" --no-cache .
71+ echo "::endgroup::"
6672 cat $file
6773 size_pr=$(docker image inspect "$image_pr" | jq '.[0].Size / (1024 * 1024) | round')
6874
Original file line number Diff line number Diff line change 44ARG IMAGE_REPO=opea
55ARG BASE_TAG=latest
66FROM $IMAGE_REPO/comps-base:$BASE_TAG
7- RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
8- git
9- RUN git clone https://github.com/opea-project/GenAIExamples
7+
108COPY ./searchqna.py $HOME/searchqna.py
119
1210ENTRYPOINT ["python" , "searchqna.py" ]
You can’t perform that action at this time.
0 commit comments