@@ -43,18 +43,18 @@ jobs:
4343 - name : packaging APISIX(-remote) with remote code
4444 run : |
4545 wget https://raw.githubusercontent.com/apache/apisix/${APISIX_VERSION}/.requirements && source .requirements
46- make package type=rpm app=apisix version=master checkout=${APISIX_VERSION} runtime_version=${APISIX_RUNTIME} image_base=registry.access.redhat.com/ubi8 /ubi image_tag=8 .6 artifact=apisix-remote
46+ make package type=rpm app=apisix version=master checkout=${APISIX_VERSION} runtime_version=${APISIX_RUNTIME} image_base=registry.access.redhat.com/ubi9 /ubi image_tag=9 .6 artifact=apisix-remote
4747
4848 - name : packaging APISIX(-local) with local code
4949 run : |
5050 wget https://raw.githubusercontent.com/apache/apisix/${APISIX_VERSION}/.requirements && source .requirements
5151 git clone -b ${APISIX_VERSION} https://github.com/apache/apisix.git
5252 ./build-apisix-dashboard.sh ./apisix
53- make package type=rpm app=apisix version=master checkout=${APISIX_VERSION} runtime_version=${APISIX_RUNTIME} image_base=registry.access.redhat.com/ubi8 /ubi image_tag=8 .6 local_code_path=./apisix artifact=apisix-local
53+ make package type=rpm app=apisix version=master checkout=${APISIX_VERSION} runtime_version=${APISIX_RUNTIME} image_base=registry.access.redhat.com/ubi9 /ubi image_tag=9 .6 local_code_path=./apisix artifact=apisix-local
5454
55- - name : run ubi8 docker and mapping rpm into container
55+ - name : run ubi9 docker and mapping rpm into container
5656 run : |
57- docker run -itd -v $PWD/output:/output -v $(pwd)/test/apisix/config.yaml:/usr/local/apisix/conf/config.yaml --name ubiInstance --net="host" registry.access.redhat.com/ubi8 /ubi:8 .6 /bin/bash
57+ docker run -itd -v $PWD/output:/output -v $(pwd)/test/apisix/config.yaml:/usr/local/apisix/conf/config.yaml --name ubiInstance --net="host" registry.access.redhat.com/ubi9 /ubi:9 .6 /bin/bash
5858
5959 - name : enable apisix repository in container
6060 run : |
6363
6464 - name : install APISIX(-remote) master by rpm in container
6565 run : |
66- docker exec ubiInstance bash -c "yum -y localinstall /output/apisix-remote-master-0.ubi8 .6.x86_64.rpm"
66+ docker exec ubiInstance bash -c "yum -y localinstall /output/apisix-remote-master-0.ubi9 .6.x86_64.rpm"
6767 docker exec ubiInstance bash -c "apisix start"
6868
6969 - name : check and ensure APISIX(-remote) master is installed
8282
8383 - name : install APISIX(-local) by rpm in container
8484 run : |
85- docker exec ubiInstance bash -c "yum -y localinstall /output/apisix-local-master-0.ubi8 .6.x86_64.rpm"
85+ docker exec ubiInstance bash -c "yum -y localinstall /output/apisix-local-master-0.ubi9 .6.x86_64.rpm"
8686 docker exec ubiInstance bash -c "apisix start"
8787
8888 - name : check and ensure APISIX(-local) is installed
@@ -102,7 +102,7 @@ jobs:
102102 - name : Publish Artifact
103103104104 with :
105- name : apisix-remote-master-0.ubi8 .6.x86_64.rpm
106- path : output/apisix-remote-master-0.ubi8 .6.x86_64.rpm
105+ name : apisix-remote-master-0.ubi9 .6.x86_64.rpm
106+ path : output/apisix-remote-master-0.ubi9 .6.x86_64.rpm
107107 retention-days : 5
108108 if-no-files-found : error
0 commit comments