Skip to content

Fix cosign sign image reference (lowercase OCI ref) - #11

Merged
Devathmaj merged 1 commit into
mainfrom
security-hardening
Aug 12, 2026
Merged

Fix cosign sign image reference (lowercase OCI ref)#11
Devathmaj merged 1 commit into
mainfrom
security-hardening

Conversation

@Devathmaj

@Devathmaj Devathmaj commented Aug 12, 2026

Copy link
Copy Markdown
Owner

Cosign fails parsing \ghcr.io/Devathmaj/VoucherBot@sha256:...\ because OCI/image references are case-sensitive and must be lowercase. Lowercase \IMAGE_NAME\ before signing.

Summary by CodeRabbit

  • Bug Fixes
    • Improved Docker image publishing reliability by normalizing image names before signing.

@Devathmaj
Devathmaj merged commit b1b01c7 into main Aug 12, 2026
6 of 7 checks passed
@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 47829965-d080-4707-8a3c-d7446a3a5d60

📥 Commits

Reviewing files that changed from the base of the PR and between d200bad and 71365c4.

📒 Files selected for processing (1)
  • .github/workflows/release.yml

📝 Walkthrough

Walkthrough

The release workflow now lowercases IMAGE_NAME and exports the normalized value to GITHUB_ENV before Docker image signing.

Changes

Release Image Normalization

Layer / File(s) Summary
Normalize IMAGE_NAME
.github/workflows/release.yml
The workflow lowercases IMAGE_NAME and persists the normalized value for subsequent steps.

Estimated code review effort: 1 (Trivial) | ~5 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch security-hardening

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Devathmaj
Devathmaj deleted the security-hardening branch August 17, 2026 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant