ci-automation: Give the sbsign_image container a name

Otherwise it uses the default name, which can clash with other
concurrent jobs, especially jobs for the other arches.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
James Le Cuirot 2024-12-20 16:21:12 +00:00
parent 16b45f6374
commit bda73d4de3
No known key found for this signature in database
GPG Key ID: 1226415D00DD3137

View File

@ -82,7 +82,9 @@ function _sbsign_image_impl() {
local sdk_image="$(docker_image_fullname "${sdk_name}" "${docker_sdk_vernum}")"
echo "docker image rm -f '${sdk_image}'" >> ./ci-cleanup.sh
./run_sdk_container -x ./ci-cleanup.sh -v "${FLATCAR_VERSION}" -U -C "${sdk_image}" \
local docker_vernum="$(vernum_to_docker_image_version "${FLATCAR_VERSION}")"
local sbsign_container="flatcar-sbsign-image-${arch}-${docker_vernum}"
./run_sdk_container -x ./ci-cleanup.sh -n "${sbsign_container}" -v "${FLATCAR_VERSION}" -U -C "${sdk_image}" \
./sbsign_image --board="${arch}-usr" \
--group="${channel}" --version="${FLATCAR_VERSION}" \
--output_root="${CONTAINER_IMAGE_ROOT}" \