mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-11 02:52:56 +01:00
Merge branch 'use-buildkit-builder' into 'master'
Use buildkit builder by default See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/585 Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com> Approved-by: Rémy Coutable <remy@rymai.me> Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com> Co-authored-by: Andrejs Cunskis <acunskis@gitlab.com>
This commit is contained in:
commit
4cad4d7556
1 changed files with 1 additions and 1 deletions
|
|
@ -17,6 +17,7 @@
|
||||||
docker run --rm --privileged ${QEMU_IMAGE} --uninstall qemu-*;
|
docker run --rm --privileged ${QEMU_IMAGE} --uninstall qemu-*;
|
||||||
docker run --rm --privileged ${QEMU_IMAGE} --install all;
|
docker run --rm --privileged ${QEMU_IMAGE} --install all;
|
||||||
fi
|
fi
|
||||||
|
- docker buildx create --use # creates and set's to active buildkit builder
|
||||||
|
|
||||||
.build_and_push:
|
.build_and_push:
|
||||||
stage: custom
|
stage: custom
|
||||||
|
|
@ -44,7 +45,6 @@
|
||||||
ARCH: linux/amd64,linux/arm64
|
ARCH: linux/amd64,linux/arm64
|
||||||
before_script:
|
before_script:
|
||||||
- !reference [.install-qemu, before_script]
|
- !reference [.install-qemu, before_script]
|
||||||
- docker buildx create --use # creates context that's capable of building multiple architectures in parallel
|
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue