Skip to content

Commit a2a69f1

Browse files
authored
fix: packaging apisix based on apisix-runtime in the circleci (#354)
1 parent 8651d4a commit a2a69f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.circleci/config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,10 @@ jobs:
218218
name: build apisix package
219219
command: |
220220
APISIX_TAG_VERSION=$(echo ${CIRCLE_TAG##*/})
221+
wget https://raw.githubusercontent.com/apache/apisix/${APISIX_TAG_VERSION}/.requirements && source .requirements
222+
221223
echo "apisix version: $APISIX_TAG_VERSION"
222-
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 >>
224+
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 >>
223225
mv ./output/apisix*.${PACK_TYPE} ${VAR_WORKBENCH_DIR}
224226
225227
- store_artifacts:

0 commit comments

Comments
 (0)