-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add support for GitHub token #59
Comments
Hello @rvignolo, Generally speaking, the GitHub token should not be passed to the workflow that does the reproducible build. In your private repository, do this:
Let us know how it goes 🙏 Additional references: |
Hi @andreibancioiu! Sorry, let me better explain. Our actions are working properly. The issue arises when there is a dependency of one smart contract This can be solved using GitHub Deploy Keys. We are using those in conjunction with the following action: - name: Setup Credentials
uses: webfactory/[email protected]
if: inputs.has-private-dependencies
with:
ssh-private-key: |
${{ secrets.sc-1-deploy-pk }}
${{ secrets.sc-2-deploy-pk }}
${{ secrets.sc-3-deploy-pk }} and it works. The problem is with the reproducible build. We need to give credentials to the docker instance. We are currently using |
@andreibancioiu I can open a PR if wanted! Thanks! |
@andreibancioiu PR has been opened here. Thanks! |
Hello @rvignolo, Sorry for the delay 🙏 We'll have a look (at the general matter and on the PR) 🙌 |
Thank you so much @andreibancioiu! |
It would be great if we could be able to send a GitHub token to the docker image such that it can fetch private repositories and perform the reproducible build with this as well.
What do you think?
The text was updated successfully, but these errors were encountered: