mirror of
https://git.netzspielplatz.de/docker-multiarch/minio.git
synced 2025-11-08 15:49:27 +00:00
Adding more troubleshooting statements
This commit is contained in:
parent
9367f8ebe0
commit
e309b4be6e
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue