Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
demo-exe committed Mar 28, 2024
1 parent 4c0e672 commit e4c4c4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hack/ci-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,18 @@ FINAL_IMAGE_NAME="${IMAGE_BASE_NAME}:${IMAGE_BASE_TAG}_${BUILD_TYPE}"
echo >&2 "Building VPP and extracting the artifacts ..."
rm -rf /tmp/_out
mkdir /tmp/_out
do_build --opt target=artifacts --output type=local,dest=/tmp/_out
do_build --target=artifacts --output type=local,dest=/tmp/_out

echo >&2 "Building the dev image from ${DOCKERFILE} ..."
push=",push=true"
if [[ ${NO_PUSH} ]]; then
push=""
fi
do_build --opt target=dev-stage \
do_build --target=dev-stage \
--output type="image,\"name=${DEV_IMAGE_NAME}\"${push}"

echo >&2 "Building the final image from ${DOCKERFILE} ..."
do_build --opt target=final-stage \
do_build --target=final-stage \
--output type="image,\"name=${FINAL_IMAGE_NAME}\"${push}"

echo "${DEV_IMAGE_NAME}" > "image-dev-${BUILD_TYPE}.txt"
Expand Down

0 comments on commit e4c4c4d

Please sign in to comment.