ci: use docker buildx for multiarch
This commit is contained in:
parent
9013cd548c
commit
2208f60f21
1 changed files with 2 additions and 2 deletions
|
|
@ -13,5 +13,5 @@ build:
|
||||||
- echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY
|
- echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY
|
||||||
- docker info
|
- docker info
|
||||||
script:
|
script:
|
||||||
- docker build -t $IMAGE:$TAG .
|
- docker buildx create --name yggdrasil --use
|
||||||
- docker push $IMAGE:$TAG
|
- docker buildx build --platform linux/amd64,linux/arm64 -t $IMAGE:$TAG --push .
|
||||||
|
|
|
||||||
Reference in a new issue