From 6969d824b1f1351a03423bc767f974ddcbde32f2 Mon Sep 17 00:00:00 2001 From: Kevin Daudt Date: Sat, 18 Dec 2021 20:10:12 +0100 Subject: ci: use arch-tagged images for static build For 32-bits arches, we use 64-bit arches in 32-bit mode. Docker by default wants to pull the image for the native arch, so unless we take care, the binaries will be built for the wrong arch. Use the arch tagged images we build to make sure we get the correct image. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 925316f..055bde7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,7 +33,7 @@ test:debian: build-static: stage: build - image: alpinelinux/build-base + image: alpinelinux/build-base:latest-$ARCH script: - abuild-apk add make gcc git musl-dev openssl-dev linux-headers zlib-dev lua5.3-dev lua5.3-lzlib zlib-static openssl-libs-static - make -j$(nproc) static -- cgit v1.2.3-70-g09d2