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

Use the IMPLEMENTATION_GITHUB_TOKEN for the Registry #23

Merged
merged 1 commit into from
Aug 27, 2022
Merged

Conversation

dmikusa
Copy link
Contributor

@dmikusa dmikusa commented Aug 26, 2022

This was configured to use GITHUB_TOKEN for publishing to the Registry, which doesn't have enough permissions. This PR switches to using IMPLEMENTATION_GITHUB_TOKEN which should have sufficient permissions.

Signed-off-by: Daniel Mikusa dmikusa@vmware.com

This was configured to use GITHUB_TOKEN for publishing to the Registry, which doesn't have enough permissions. This PR switches to using IMPLEMENTATION_GITHUB_TOKEN which should have sufficient permissions.

Signed-off-by: Daniel Mikusa <dmikusa@vmware.com>
@dmikusa dmikusa added type:bug A general bug semver:patch A change requiring a patch version bump labels Aug 26, 2022
@dmikusa dmikusa requested a review from a team as a code owner August 26, 2022 19:03
samj1912
samj1912 previously approved these changes Aug 26, 2022
@@ -9,7 +9,7 @@ codeowners:
package:
repository: docker.io/buildpacksio/profile
register: true
registry_token: ${{ secrets.GITHUB_TOKEN }}
registry_token: ${{ secrets.IMPLEMENTATION_GITHUB_TOKEN }}
Copy link
Member

Choose a reason for hiding this comment

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

@dmikusa-pivotal should it be using the implementation token to publish to dockerhub? Shouldn't it be some dockerhub credential?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There are too many registries, lol. This is referring to the buildpacks registry. The docker creds are below, line 16 & 17.

This change in the descriptor file, results in the change on line 223 in the pb-create-package.yml file below.

I think/hope this will allow us to register the profile buildpack on https://registry.buildpacks.io. It didn't work when I tried to use the GITHUB_TOKEN.

@samj1912 samj1912 merged commit 612cbbc into main Aug 27, 2022
@samj1912 samj1912 deleted the fix-registry branch August 27, 2022 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:patch A change requiring a patch version bump type:bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants