From e309b4be6eccf4f969cd7d192092c399f312d715 Mon Sep 17 00:00:00 2001 From: Kelly Hair Date: Tue, 14 Apr 2020 17:51:17 -0400 Subject: [PATCH] Adding more troubleshooting statements --- .gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ce2b8a6..46275ac 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,6 +13,10 @@ build:ARM64: # Current thinking is to add build the container & tag with both the date # in YYYY-mm-dd-h-m-s format as well as "latest": - apk add qemu-aarch64_be + - lsb_release -a + - ls /proc/sys/fs/binfmt_misc/ + - cat /proc/sys/fs/binfmt_misc/qemu-aarch64 + - docker run --rm --privileged multiarch/qemu-user-static --reset -p yes - ls -ltar /usr/bin/ # - docker run --rm --privileged multiarch/qemu-user-static --reset -p yes - wget https://github.com/docker/buildx/releases/download/v0.3.1/buildx-v0.3.1.linux-amd64 @@ -24,7 +28,7 @@ build:ARM64: - timestamp=$(date +%Y%m%d%H%M%S) - cd $CI_PROJECT_DIR/ - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - - docker buildx build --platform=linux/arm64/v8 --no-cache . -t minio-arm64 + - docker buildx build --platform=linux/arm64 --no-cache . -t minio-arm64 - docker tag minio-arm64 registry.gitlab.com/$CI_PROJECT_PATH/minio-arm64:latest - docker tag minio-arm64 registry.gitlab.com/$CI_PROJECT_PATH/minio-arm64:$timestamp - docker push registry.gitlab.com/$CI_PROJECT_PATH/minio-arm64:latest