Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Use GITHUB_TOKEN instead of REGISTRY_TOKEN #75

Merged
merged 2 commits into from
Feb 20, 2024

Conversation

gmpinder
Copy link
Member

To keep things as consistent as possible, we're switching to using the GITHUB_TOKEN env var for login instead. Env vars were also all pulled out into their own constants to make things more consistent.

This change also includes prioritizing public/private key signing over OIDC keyless for GitHub for an easier transition. It would require the user to delete their cosign.pub file from their repo in order to start using the keyless method.

To keep things as consistent as possible, we're switching to using the GITHUB_TOKEN env var for login
instead. Env vars were also all pulled out into their own constants to make things more consistent
@gmpinder gmpinder self-assigned this Feb 20, 2024
@gmpinder gmpinder changed the title fix: Use GITHUB_TOKEN instead of REGISTRY_TOKEN refactor: Use GITHUB_TOKEN instead of REGISTRY_TOKEN Feb 20, 2024
@gmpinder gmpinder enabled auto-merge (squash) February 20, 2024 03:08
@bayou-brogrammer
Copy link
Collaborator

definitely like the constant var cleanup

@gmpinder gmpinder merged commit 54742ec into main Feb 20, 2024
1 check passed
@gmpinder gmpinder deleted the prefer-pub-pri-key-signing branch February 20, 2024 04:30
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.

2 participants