ダイジェスト値ログに表示する

This commit is contained in:
Nik Afiq 2024-11-09 14:02:08 +09:00
parent bfbfc5c7bb
commit 79bf28a4f7
3 changed files with 12 additions and 6 deletions

View File

@ -39,9 +39,11 @@ for resource_set in "${resources[@]}"; do
# ダイジェストを比較
if [[ "$product_digest" == "$lambda_digest" ]]; then
echo "✅ Digests match for product ECR and Lambda in $product_repo."
echo " Product Digest: $product_digest"
echo " Lambda Digest: $lambda_digest"
else
echo "❌ Digests do not match for $product_repo and $lambda_function."
echo "Product Digest: $product_digest"
echo "Lambda Digest: $lambda_digest"
echo " Product Digest: $product_digest"
echo " Lambda Digest: $lambda_digest"
fi
done

View File

@ -43,9 +43,11 @@ for staging_repo in "${staging_repositories[@]}"; do
# ダイジェストを比較
if [[ "$latest_digest" == "$scan_point_digest" ]]; then
echo "✅ Digests match for 'latest' and 'scan-point' tags in $staging_repo."
echo " Latest Tag Digest: $latest_digest"
echo " Scan-Point Tag Digest: $scan_point_digest"
else
echo "❌ Digests do not match for 'latest' and 'scan-point' tags in $staging_repo."
echo "Latest Tag Digest: $latest_digest"
echo "Scan-Point Tag Digest: $scan_point_digest"
echo " Latest Tag Digest: $latest_digest"
echo " Scan-Point Tag Digest: $scan_point_digest"
fi
done

View File

@ -46,9 +46,11 @@ for repo_pair in "${repositories[@]}"; do
# ダイジェストを比較
if [[ "$staging_digest" == "$product_digest" ]]; then
echo "✅ Digests match for $staging_repo and $product_repo."
echo " Staging Digest: $staging_digest"
echo " Product Digest: $product_digest"
else
echo "❌ Digests do not match for $staging_repo and $product_repo."
echo "Staging Digest: $staging_digest"
echo "Product Digest: $product_digest"
echo " Staging Digest: $staging_digest"
echo " Product Digest: $product_digest"
fi
done