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

Fix build image #1272

Merged
merged 1 commit into from
Aug 27, 2024
Merged

Fix build image #1272

merged 1 commit into from
Aug 27, 2024

Conversation

yrong
Copy link
Contributor

@yrong yrong commented Aug 22, 2024

No description provided.

@yrong
Copy link
Contributor Author

yrong commented Aug 22, 2024

I made some fix in this PR but still get the errors when pushing the image, error as:

#15 ERROR: denied: permission_denied: write_package
------
 > pushing ghcr.io/snowfork/snowbridge-relay:relayer-fix-build-relayer-1.0.1 with docker:
------
ERROR: denied: permission_denied: write_package

More details in https://github.com/Snowfork/snowbridge/actions/runs/10500398441/job/29088724680.

@vgeddes Could you please check whether we config the GITHUB_TOKEN with sufficient scopes?

@yrong yrong requested a review from vgeddes August 22, 2024 02:18
@vgeddes
Copy link
Collaborator

vgeddes commented Aug 22, 2024

I made some fix in this PR but still get the errors when pushing the image, error as:

#15 ERROR: denied: permission_denied: write_package
------
 > pushing ghcr.io/snowfork/snowbridge-relay:relayer-fix-build-relayer-1.0.1 with docker:
------
ERROR: denied: permission_denied: write_package

More details in https://github.com/Snowfork/snowbridge/actions/runs/10500398441/job/29088724680.

@vgeddes Could you please check whether we config the GITHUB_TOKEN with sufficient scopes?

There is no GITHUB_TOKEN actions secret registered for the repo

@vgeddes
Copy link
Collaborator

vgeddes commented Aug 22, 2024

can you check in the github docs about what we need to configure in order to push to github packages ?

@yrong
Copy link
Contributor Author

yrong commented Aug 22, 2024

@vgeddes
Copy link
Collaborator

vgeddes commented Aug 23, 2024

OK can you try again. I had to allow the snowbridge repo write access to the package via github actions. A different setting to what you suggested.

@yrong
Copy link
Contributor Author

yrong commented Aug 24, 2024

OK can you try again. I had to allow the snowbridge repo write access to the package via github actions. A different setting to what you suggested.

Thanks, it works now. https://github.com/Snowfork/snowbridge/actions/runs/10538273949/job/29200602546

@yrong yrong merged commit 235d9ea into main Aug 27, 2024
2 of 4 checks passed
@yrong yrong deleted the fix-build-relayer branch August 27, 2024 00:31
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