Skip to content
Snippets Groups Projects
Unverified Commit dc6e2c0a authored by Vincent Sellier's avatar Vincent Sellier
Browse files

fix manifest creation

parent b650047f
No related branches found
No related tags found
Loading
...@@ -47,11 +47,15 @@ fi ...@@ -47,11 +47,15 @@ fi
echo "Creating manifest for image ${IMAGE_NAME} composed by ${AMD64_IMAGE_NAME} and ${ARM_IMAGE_NAME}" echo "Creating manifest for image ${IMAGE_NAME} composed by ${AMD64_IMAGE_NAME} and ${ARM_IMAGE_NAME}"
echo "Press enter to continue ..." echo "Press enter to continue ..."
read read
echo "Creation in progress ..."
docker manifest create ${IMAGE_NAME} ${AMD64_IMAGE_NAME} ${ARM_IMAGE_NAME} echo "Pull latest images"
docker pull ${AMD64_IMAGE_NAME}
docker pull ${ARM_IMAGE_NAME}
echo "Creation in progress ..."
docker manifest create --amend ${IMAGE_NAME} ${AMD64_IMAGE_NAME} ${ARM_IMAGE_NAME}
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "Error create the manifest" echo "Error during manifest creation the manifest"
exit 1 exit 1
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment