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

[Feature] Add a method to update the README and Dockerfile without using the DH Builder #2392

Open
3 tasks done
sudo-bmitch opened this issue Jun 14, 2024 · 1 comment
Open
3 tasks done

Comments

@sudo-bmitch
Copy link

sudo-bmitch commented Jun 14, 2024

Problem description

There's no obvious way to update the README and add a Dockerfile to an image built outside of Docker Hub to the UI. I can envision several ways this could be exposed to users:

  1. Create a public API documented at https://docs.docker.com/docker-hub/api/latest
  2. An annotation could be added to the image with a URL of the content that is automatically consumed by Hub
  3. The content could be pushed separately using OCI referrers and a documented media type
  4. A GitHub Action could be created that uploads it after pushing the image (least ideal since it would be GitHub specific, but would cover a large percentage of users)

docker info output

n/a

Debug Information

n/a

Error messages (on screen or in browser console)

n/a

Screenshots of the issue (if applicable)

n/a

Task List

  • This is NOT a security issue
  • I do NOT have a Docker subscription
  • I have looked through other issues and they do NOT apply to me
@BretFisher
Copy link

Since BuildKit provenance attestations (mode=max) support adding the Dockerfile during a build, I'd think that should also be a path to showing the full Dockerfile, though that'll likely need to live per-build with the rest of the details.

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

2 participants