From 1fd489026d49b3ab8ec9c8e2d41412606fb8cf84 Mon Sep 17 00:00:00 2001 From: Iain Powrie Date: Tue, 21 Dec 2021 02:26:52 +0000 Subject: [PATCH] Replace qemu image for arm support --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c51ee237..3e1c4d92 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,7 +29,7 @@ docker-build-dev: mkdir -p ~/.docker/cli-plugins mv docker-buildx ~/.docker/cli-plugins/docker-buildx docker version - - docker run --rm --privileged "multiarch/qemu-user-static:$([ $(uname -p) = 'aarch64' ] && echo arm || echo latest)" --reset -p yes + - docker run --rm --privileged aptman/qus -s -- -p aarch64 x86_64 - echo $CI_BUILD_TOKEN | docker login -u "$CI_REGISTRY_USER" --password-stdin $CI_REGISTRY script: - | @@ -71,7 +71,7 @@ docker-build-prod: mkdir -p ~/.docker/cli-plugins mv docker-buildx ~/.docker/cli-plugins/docker-buildx docker version - - docker run --rm --privileged "multiarch/qemu-user-static:$([ $(uname -p) = 'aarch64' ] && echo arm || echo latest)" --reset -p yes + - docker run --rm --privileged aptman/qus -s -- -p aarch64 x86_64 - echo $CI_BUILD_TOKEN | docker login -u "$CI_REGISTRY_USER" --password-stdin $CI_REGISTRY script: - |