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

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,6 +39,8 @@ 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"

View File

@ -43,6 +43,8 @@ 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"

View File

@ -46,6 +46,8 @@ 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"