Skip to content

[github-action] release - Empty allowedSignersFile#12304

Merged
estesp merged 1 commit into
containerd:mainfrom
DataDog:jared.ledvina/allow-ssh-git-tags
Sep 17, 2025
Merged

[github-action] release - Empty allowedSignersFile#12304
estesp merged 1 commit into
containerd:mainfrom
DataDog:jared.ledvina/allow-ssh-git-tags

Conversation

@jaredledvina

Copy link
Copy Markdown
Contributor

Howdy! Likely you don't hit this upstream and it looks like the tags are currently signed with GPG based keys. However, on forks if you try to push a tag, this action fails if the signature is signed with an SSH key. As such, I'm offering this change upstream so you all could support future SSH signed git tags too. I've tested this on our fork and it seems to work with tags signed using my ed25519 key & leaving the allowedSignersFile file empty. Without this, the CI job fails with:

Output: error: gpg.ssh.allowedSignersFile needs to be configured and exist for ssh signature verification

If you're open to this change and willing to backport it to the 2.1 release branch, that'd be swell! Thanks for considering!

@k8s-ci-robot

Copy link
Copy Markdown

Hi @jaredledvina. Thanks for your PR.

I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Comment thread .github/workflows/release.yml
Update the release Github Action workflow to create an empty allowedSignersFile
and configure git to use it. This prevents failures when tags are signed
with an SSH based key. Without this configuration, `git tag -v` errors
with:

```
Output: error: gpg.ssh.allowedSignersFile needs to be configured and exist for ssh signature verification
```

Signed-off-by: Jared Ledvina <[email protected]>
@jaredledvina
jaredledvina force-pushed the jared.ledvina/allow-ssh-git-tags branch from f0e34d4 to 09644bd Compare September 17, 2025 16:11
@github-project-automation github-project-automation Bot moved this from Needs Triage to Review In Progress in Pull Request Review Sep 17, 2025
@estesp
estesp added this pull request to the merge queue Sep 17, 2025
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 17, 2025
@estesp
estesp added this pull request to the merge queue Sep 17, 2025
Merged via the queue into containerd:main with commit b0d55aa Sep 17, 2025
94 of 95 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Sep 17, 2025
@fuweid

fuweid commented Jun 2, 2026

Copy link
Copy Markdown
Member

/cherry-pick release/2.1

@k8s-infra-cherrypick-robot

Copy link
Copy Markdown

@fuweid: new pull request created: #13517

Details

In response to this:

/cherry-pick release/2.1

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code needs-ok-to-test size/XS

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants