From ef30d14ef80aa2cb3cf5f1f8699b0bd790b80719 Mon Sep 17 00:00:00 2001 From: Ashish Tiwari Date: Fri, 16 Aug 2024 18:34:09 +0530 Subject: [PATCH] use same image diff platform --- ...kage-apisix-runtime-deb-ubuntu20.04-openresty-1.21.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/package-apisix-runtime-deb-ubuntu20.04-openresty-1.21.yml b/.github/workflows/package-apisix-runtime-deb-ubuntu20.04-openresty-1.21.yml index b82f06069..a00d0db83 100644 --- a/.github/workflows/package-apisix-runtime-deb-ubuntu20.04-openresty-1.21.yml +++ b/.github/workflows/package-apisix-runtime-deb-ubuntu20.04-openresty-1.21.yml @@ -34,17 +34,17 @@ jobs: - name: build apisix-runtime deb run: | if [ "${{ matrix.platform }}" == "linux/arm64" ]; then - make package type=deb app=apisix-runtime runtime_version=${BUILD_APISIX_RUNTIME_VERSION} image_base=arm64v8/ubuntu image_tag=20.04 arch=${{ matrix.platform }} + make package type=deb app=apisix-runtime runtime_version=${BUILD_APISIX_RUNTIME_VERSION} image_base=arm64v8/ubuntu image_tag=20.04 arch=linux/arm64/v8 else - make package type=deb app=apisix-runtime runtime_version=${BUILD_APISIX_RUNTIME_VERSION} image_base=ubuntu image_tag=20.04 arch=${{ matrix.platform }} + make package type=deb app=apisix-runtime runtime_version=${BUILD_APISIX_RUNTIME_VERSION} image_base=ubuntu image_tag=20.04 arch=linux/amd64 fi - name: run ubuntu 20.04 docker and mapping apisix-runtime deb into container run: | if [ "${{ matrix.platform }}" == "linux/arm64" ]; then - docker run -itd -v /home/runner/work/apisix-build-tools/apisix-build-tools/output:/output --name ubuntu20.04Instance --net="host" docker.io/arm64v8/ubuntu:20.04 /bin/bash + docker run -itd -v /home/runner/work/apisix-build-tools/apisix-build-tools/output:/output --name ubuntu20.04Instance --net="host" --platfrom linux/arm64/v8 docker.io/ubuntu:20.04 /bin/bash else - docker run -itd -v /home/runner/work/apisix-build-tools/apisix-build-tools/output:/output --name ubuntu20.04Instance --net="host" docker.io/ubuntu:20.04 /bin/bash + docker run -itd -v /home/runner/work/apisix-build-tools/apisix-build-tools/output:/output --name ubuntu20.04Instance --net="host" --platfrom linux/amd64 docker.io/ubuntu:20.04 /bin/bash fi - name: install dependencies in container