docs icon indicating copy to clipboard operation
docs copied to clipboard

following the instructions to publish a docker image causes an error in the `attest-build-provenance` step

Open thawn opened this issue 1 year ago • 4 comments
trafficstars

Code of Conduct

What article on docs.github.com is affected?

publishing images to docker

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

thawn avatar May 13 '24 17:05 thawn

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.

welcome[bot] avatar May 13 '24 17:05 welcome[bot]

@thawn Thanks for opening this issue! I've linked your PR to this issue 💛

nguyenalex836 avatar May 13 '24 21:05 nguyenalex836

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).

callumgare avatar May 26 '24 07:05 callumgare