docs
docs copied to clipboard
following the instructions to publish a docker image causes an error in the `attest-build-provenance` step
Code of Conduct
- [X] I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
What part(s) of the article would you like to see updated?
Following the current version of the documentation for publishing a docker image, I am getting the following error message in the attest-build-provenance step: Failed to get ID token: Error message: Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable
Additional information
No response
Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.
@thawn Thanks for opening this issue! I've linked your PR to this issue 💛
Thanks for this! I was running into this issue but your PR helped me understand that all I needed to do was add id-token: write to the permissions list for the job in the github actions workflow config file (adding this comment to make that clear to anyone else running into this).