Skip to content

Commit bda73d4

Browse files
committed
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 <[email protected]>
1 parent 16b45f6 commit bda73d4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci-automation/sbsign_image.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ function _sbsign_image_impl() {
8282
local sdk_image="$(docker_image_fullname "${sdk_name}" "${docker_sdk_vernum}")"
8383
echo "docker image rm -f '${sdk_image}'" >> ./ci-cleanup.sh
8484

85-
./run_sdk_container -x ./ci-cleanup.sh -v "${FLATCAR_VERSION}" -U -C "${sdk_image}" \
85+
local docker_vernum="$(vernum_to_docker_image_version "${FLATCAR_VERSION}")"
86+
local sbsign_container="flatcar-sbsign-image-${arch}-${docker_vernum}"
87+
./run_sdk_container -x ./ci-cleanup.sh -n "${sbsign_container}" -v "${FLATCAR_VERSION}" -U -C "${sdk_image}" \
8688
./sbsign_image --board="${arch}-usr" \
8789
--group="${channel}" --version="${FLATCAR_VERSION}" \
8890
--output_root="${CONTAINER_IMAGE_ROOT}" \

0 commit comments

Comments
 (0)