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

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

Closed
1 task done
thawn opened this issue May 13, 2024 · 5 comments · Fixed by #32926
Closed
1 task done
Labels
actions This issue or pull request should be reviewed by the docs actions team content This issue or pull request belongs to the Docs Content team packages This issue or pull request should be reviewed by the docs packages team

Comments

@thawn
Copy link
Contributor

thawn commented May 13, 2024

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 thawn added the content This issue or pull request belongs to the Docs Content team label May 13, 2024
Copy link

welcome bot commented May 13, 2024

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.

@github-actions github-actions bot added the triage Do not begin working on this issue until triaged by the team label May 13, 2024
@nguyenalex836 nguyenalex836 added actions This issue or pull request should be reviewed by the docs actions team packages This issue or pull request should be reviewed by the docs packages team and removed triage Do not begin working on this issue until triaged by the team labels May 13, 2024
@nguyenalex836
Copy link
Contributor

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

@Hanyxhzuz

This comment was marked as spam.

1 similar comment
@Hanyxhzuz

This comment was marked as spam.

@callumgare
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
actions This issue or pull request should be reviewed by the docs actions team content This issue or pull request belongs to the Docs Content team packages This issue or pull request should be reviewed by the docs packages team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants
@callumgare @thawn @nguyenalex836 @Hanyxhzuz and others