mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Replace qemu image for arm support
This commit is contained in:
parent
3d54072c50
commit
1fd489026d
@ -29,7 +29,7 @@ docker-build-dev:
|
|||||||
mkdir -p ~/.docker/cli-plugins
|
mkdir -p ~/.docker/cli-plugins
|
||||||
mv docker-buildx ~/.docker/cli-plugins/docker-buildx
|
mv docker-buildx ~/.docker/cli-plugins/docker-buildx
|
||||||
docker version
|
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
|
- echo $CI_BUILD_TOKEN | docker login -u "$CI_REGISTRY_USER" --password-stdin $CI_REGISTRY
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
@ -71,7 +71,7 @@ docker-build-prod:
|
|||||||
mkdir -p ~/.docker/cli-plugins
|
mkdir -p ~/.docker/cli-plugins
|
||||||
mv docker-buildx ~/.docker/cli-plugins/docker-buildx
|
mv docker-buildx ~/.docker/cli-plugins/docker-buildx
|
||||||
docker version
|
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
|
- echo $CI_BUILD_TOKEN | docker login -u "$CI_REGISTRY_USER" --password-stdin $CI_REGISTRY
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
|
Loading…
Reference in New Issue
Block a user