Skip to content

Conversation

javuto
Copy link
Collaborator

@javuto javuto commented Aug 12, 2025

The parameters for cosign command had an incorrect format due to multiple tags.

@javuto javuto requested a review from Copilot August 12, 2025 10:26
@javuto javuto added 📦 build Building related issues 🚧 bugfix Fix for an existing bug cicd CICD related issues labels Aug 12, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes an issue with cosign format handling when dealing with multiple Docker tags. The change modifies the codesigning workflow to properly parse space-separated tags and digests, and removes the tag-based loop since cosign operates on image digests rather than tags.

  • Replaces string iteration with proper array parsing for tags and digests
  • Removes the outer tag loop and keeps only the digest-based signing/verification
  • Updates IMAGE_NAME construction to exclude the tag suffix

javuto and others added 2 commits August 12, 2025 12:34
The TAGS array is parsed but never used in the updated logic

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
The TAGS array is parsed but never used in the verification logic

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@javuto javuto merged commit e37f4e8 into main Aug 12, 2025
53 checks passed
@javuto javuto deleted the fix-multiple-tags branch August 12, 2025 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚧 bugfix Fix for an existing bug 📦 build Building related issues cicd CICD related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant