Merge pull request #260 from flatcar-linux/jepio/run_sdk_container-custom-image-fix

run_sdk_container: skip fetching image if custom_image is requested
This commit is contained in:
Jeremi Piotrowski 2022-03-17 11:28:42 +01:00 committed by GitHub
commit 2dc19b3d4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,8 +108,12 @@ if [ -z "$stat" ] ; then
gpg_volumes=$(gnupg_ssh_gcloud_mount_opts)
source ci-automation/ci_automation_common.sh
docker_image_from_registry_or_buildcache "flatcar-sdk-${arch}" "${docker_sdk_vernum}"
if [ -z "$custom_image" ]; then
(
source ci-automation/ci_automation_common.sh
docker_image_from_registry_or_buildcache "flatcar-sdk-${arch}" "${docker_sdk_vernum}"
)
fi
$docker create $tty -i \
-v /dev:/dev \