File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,7 @@ jobs:
151151 run : |
152152 DEB_FILE=$(find "${GITHUB_WORKSPACE}/artifacts" -name "goaccess_*.deb")
153153 echo "Found deb package: $DEB_FILE"
154+
154155 case "${{ matrix.distro }}" in
155156 bookworm) TEST_IMAGE="debian:bookworm" ;;
156157 bullseye) TEST_IMAGE="debian:bullseye" ;;
@@ -164,7 +165,17 @@ jobs:
164165 *) echo "Unknown distro: ${{ matrix.distro }}" && exit 1 ;;
165166 esac
166167 echo "Using Docker image for testing: $TEST_IMAGE"
167- docker run --rm --platform linux/${{ matrix.arch }} \
168+
169+ case "${{ matrix.arch }}" in
170+ arm32v7) TEST_PLATFORM="linux/arm/v7" ;;
171+ aarch64) TEST_PLATFORM="linux/arm64" ;;
172+ i386) TEST_PLATFORM="linux/386" ;;
173+ amd64) TEST_PLATFORM="linux/amd64" ;;
174+ *) echo "Unsupported architecture: ${{ matrix.arch }}" && exit 1 ;;
175+ esac
176+ echo "Using platform for testing: $TEST_PLATFORM"
177+
178+ docker run --rm --platform "$TEST_PLATFORM" \
168179 -v "${GITHUB_WORKSPACE}/artifacts:/artifacts" \
169180 "$TEST_IMAGE" bash -c "\
170181 apt-get update && \
You can’t perform that action at this time.
0 commit comments