troubleshooting

This commit is contained in:
Kelly Hair 2020-04-14 18:02:11 -04:00
parent 586b0c0b94
commit 5a5532dd64

View file

@ -12,17 +12,15 @@ build:ARM64:
script:
# 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
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- ls -ltar /usr/bin/
- ls /proc/sys/fs/binfmt_misc/
# - apk add qemu-aarch64_be
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- ls /proc/sys/fs/binfmt_misc/qemu-aarch64
- cat /proc/sys/fs/binfmt_misc/qemu-aarch64
- wget https://github.com/docker/buildx/releases/download/v0.3.1/buildx-v0.3.1.linux-amd64
- mkdir -p ~/.docker/cli-plugins
- mv buildx* ~/.docker/cli-plugins/docker-buildx
- chmod a+x ~/.docker/cli-plugins/docker-buildx
- docker buildx ls
- docker buildx imagetools inspect alpine
- timestamp=$(date +%Y%m%d%H%M%S)
- cd $CI_PROJECT_DIR/
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY