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
|
||||
- docker info
|
||||
script:
|
||||
- docker build -t $IMAGE:$TAG .
|
||||
- docker push $IMAGE:$TAG
|
||||
- docker buildx create --name yggdrasil --use
|
||||
- docker buildx build --platform linux/amd64,linux/arm64 -t $IMAGE:$TAG --push .
|
||||
|
|
|
|||
Reference in a new issue