mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 06:31:18 +02:00
ci-automation/release: Only upload SDK if a new one was built
A release includes an SDK if its SDK version is the release version. Only then we need to upload a new SDK container image.
This commit is contained in:
parent
6bfaa1d8b9
commit
00223be1c7
@ -216,7 +216,9 @@ function _release_build_impl() {
|
|||||||
sign_artifacts "${SIGNER}" "aws-${arch}/flatcar_production_ami_"*txt "aws-${arch}/flatcar_production_ami_"*json
|
sign_artifacts "${SIGNER}" "aws-${arch}/flatcar_production_ami_"*txt "aws-${arch}/flatcar_production_ami_"*json
|
||||||
copy_to_buildcache "images/${arch}/${vernum}/" "aws-${arch}/flatcar_production_ami_"*txt* "aws-${arch}/flatcar_production_ami_"*json*
|
copy_to_buildcache "images/${arch}/${vernum}/" "aws-${arch}/flatcar_production_ami_"*txt* "aws-${arch}/flatcar_production_ami_"*json*
|
||||||
done
|
done
|
||||||
publish_sdk "${docker_sdk_vernum}"
|
if [ "${vernum}" = "${sdk_version}" ]; then
|
||||||
|
publish_sdk "${docker_sdk_vernum}"
|
||||||
|
fi
|
||||||
echo "===="
|
echo "===="
|
||||||
echo "Done, now you can copy the images to Origin"
|
echo "Done, now you can copy the images to Origin"
|
||||||
echo "===="
|
echo "===="
|
||||||
|
Loading…
x
Reference in New Issue
Block a user