From a2a69f16a3abe2e5165946fd9e125fd8ae3816c1 Mon Sep 17 00:00:00 2001 From: AlinsRan Date: Thu, 23 Nov 2023 14:29:13 +0800 Subject: [PATCH] fix: packaging apisix based on apisix-runtime in the circleci (#354) --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6f0cebda3..6be09b1ef 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -218,8 +218,10 @@ jobs: name: build apisix package command: | APISIX_TAG_VERSION=$(echo ${CIRCLE_TAG##*/}) + wget https://raw.githubusercontent.com/apache/apisix/${APISIX_TAG_VERSION}/.requirements && source .requirements + echo "apisix version: $APISIX_TAG_VERSION" - make package type=${PACK_TYPE} app=apisix openresty=apisix-base checkout=${APISIX_TAG_VERSION} version=${APISIX_TAG_VERSION} image_base=<< parameters.var_os >> image_tag=<< parameters.var_os_release >> + make package type=${PACK_TYPE} app=apisix openresty=apisix-runtime runtime_version=${APISIX_RUNTIME} checkout=${APISIX_TAG_VERSION} version=${APISIX_TAG_VERSION} image_base=<< parameters.var_os >> image_tag=<< parameters.var_os_release >> mv ./output/apisix*.${PACK_TYPE} ${VAR_WORKBENCH_DIR} - store_artifacts: