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 update readme workflow #894

Open
lucasrod16 opened this issue Jan 31, 2025 · 1 comment
Open

Fix update readme workflow #894

lucasrod16 opened this issue Jan 31, 2025 · 1 comment
Assignees

Comments

@lucasrod16
Copy link

The workflow that keeps dockerhub image descriptions in sync with readmes is failing. It would be nice to have this automation working so that dockerhub image descriptions stay updated with changes to source readmes in this repository.

https://github.com/rstudio/rstudio-docker-products/actions/workflows/update-readme.yaml

There are currently two causes of the failures:

  1. there are no readmes in the content/base and content/pro directories which causes the peter-evans/dockerhub-description github action to fail with the following errors:

    ENOENT: no such file or directory, open './content/base/README.md'
    ENOENT: no such file or directory, open './content/pro/README.md'
    
    • there is a single readme under content/README.md that documents both the base and pro images
  2. the rest of the errors are Forbidden errors. these are likely caused by the dockerhub access token having insufficient permissions

peter-evans/dockerhub-description#10
peter-evans/dockerhub-description#248

Image

@lucasrod16
Copy link
Author

lucasrod16 commented Jan 31, 2025

Ran a test in a personal repository to verify an access token with read/write/delete permissions is able to successfully update a dockerhub description using the peter-evans/dockerhub-description action:

https://github.com/lucasrod16/update-dockerhub-description-test/actions/runs/13078426464/job/36496180268#step:3:11
https://hub.docker.com/repository/docker/lucasrod96/update-dockerhub-description/general

Image

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

No branches or pull requests

1 participant