Skip to content

ci: Name the RubyGems owner for the first trusted publish - #3

Merged
nderjung merged 1 commit into
prod-stagingfrom
nderjung/fix/release-owner
Nov 25, 2026
Merged

nderjung merged 1 commit into
prod-stagingfrom
nderjung/fix/release-owner

Conversation

@nderjung

Copy link
Copy Markdown
Member

The first release of unikraft-cloud fails on both channels:

Trusted publishing can only create a new gem when the workflow declares which RubyGems.org account will own it.

rubygems/configure-rubygems-credentials v2.2.0 adds an owner input for exactly this. The release now passes vars.RUBYGEMS_OWNER_ID.

Before merging, set the RUBYGEMS_OWNER_ID repository variable to the account ID shown on the Pending Trusted Publishers page of the account that registered unikraft-cloud. Once the gem exists, owner is ignored.

RubyGems only lets trusted publishing create a new gem when the token
exchange names the account that will own it.
configure-rubygems-credentials v2.2.0 adds the owner input; read it
from the RUBYGEMS_OWNER_ID repository variable.

Signed-off-by: Alexander Jung <alex@unikraft.com>
@nderjung
nderjung force-pushed the nderjung/fix/release-owner branch from 129704d to eaa74f1 Compare November 25, 2026 02:56
@nderjung
nderjung merged commit 19d901a into prod-staging Nov 25, 2026
8 checks passed
@nderjung
nderjung deleted the nderjung/fix/release-owner branch November 25, 2026 02:57
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