-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
add token service support for docker registry #14919
Closed
Closed
Commits on Mar 7, 2021
-
add token service support for docker registry
- repo name ruler <owner>/<repo_name>[/<image_name>] (note: if `<image_name>` not set, will use `<repo_name>` as default) - add a new repo permission unit named as `package`, it's not a real unit in gitea, just use for permission check. - add a small api `GET /repos/{owner}/{repo}/packages/{type}/{name}` for test, maybe can add more later ref: - https://docs.docker.com/registry/spec/auth/token/ - https://docs.docker.com/registry/notifications/ - https://github.com/cesanta/docker_auth Signed-off-by: a1012112796 <1012112796@qq.com>
Configuration menu - View commit details
-
Copy full SHA for 377c5ac - Browse repository at this point
Copy the full SHA 377c5acView commit details
Commits on Mar 8, 2021
-
Update routers/repo/package.go
Co-authored-by: techknowlogick <matti@mdranta.net>
Configuration menu - View commit details
-
Copy full SHA for cb934f1 - Browse repository at this point
Copy the full SHA cb934f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3ae2f5 - Browse repository at this point
Copy the full SHA d3ae2f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9555233 - Browse repository at this point
Copy the full SHA 9555233View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47e2a11 - Browse repository at this point
Copy the full SHA 47e2a11View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1f5379 - Browse repository at this point
Copy the full SHA b1f5379View commit details
Commits on Mar 9, 2021
-
because if using token serve, it will be difficut to use docker registry api directly, try do someting to simplify it.` Signed-off-by: a1012112796 <1012112796@qq.com>
Configuration menu - View commit details
-
Copy full SHA for 3548d25 - Browse repository at this point
Copy the full SHA 3548d25View commit details
Commits on Mar 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 260fe61 - Browse repository at this point
Copy the full SHA 260fe61View commit details
Commits on Mar 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 80b7e1d - Browse repository at this point
Copy the full SHA 80b7e1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62c8142 - Browse repository at this point
Copy the full SHA 62c8142View commit details
Commits on Apr 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 759a900 - Browse repository at this point
Copy the full SHA 759a900View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff44fca - Browse repository at this point
Copy the full SHA ff44fcaView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.