Here I0726c1b7d9f9bee3097c4891248f41169fe6ac46 we introduced yet another set of build jobs, so called UV jobs. The goal was to use UV to make the build jobs faster. But eventually it turned out to be incompatible with the legacy build pipeline. This PS makes these new (UV) build jobs even more different from the legacy jobs. In order to build ARM64 images we utilize ARM64 nodes (building images using QEMU is too slow). Every build job uses mixed nodeset with one AMD64 node and one ARM64 node. It uses modified build-container-image and upload-container-image roles which utilize Buildkit (docker buildx) for building multiarch images and for uploading multiarch tags to registry. Signed-off-by: Vladimir Kozhukalov <kozhukalov@gmail.com> Change-Id: I905d6723d246cb24591230b88abb41d113da9884
13 lines
286 B
Docker
13 lines
286 B
Docker
ARG FROM=ubuntu:noble
|
|
FROM ${FROM}
|
|
|
|
ARG CEPH_REPO=""
|
|
ARG CEPH_KEY="https://download.ceph.com/keys/release.asc"
|
|
ARG ALLOW_UNAUTHENTICATED=false
|
|
ARG APT_MIRROR_HOST=""
|
|
ARG TARGETARCH
|
|
ARG TARGETPLATFORM
|
|
|
|
COPY scripts/base.sh scripts/helpers.sh /
|
|
RUN /base.sh && rm -f /base.sh /helpers.sh
|