docs: update README.md

This commit is contained in:
椰子 2024-01-19 19:41:56 +08:00
parent 721da84bc0
commit ff6d05643a

View File

@ -1,20 +1,13 @@
# dockertags
[![crates.io](https://img.shields.io/crates/v/dockertags.svg)](https://crates.io/crates/dockertags)
[![LICENSE](https://img.shields.io/crates/l/dockertags.svg)](LICENSE)
List all tags for a Docker image on a remote registry.
## Usage
## License
Build and install binaries into `/${CARGO_HOME}/bin` by default.
All the code in this repository is released under the ***Massachusetts Institute of Technology***, for more information take a
look at the [LICENSE] file.
```
cargo install --path . --locked
```
> Cargo install ignores Cargo.lock by default.
> Use `--locked` to match `cargo build --release` would build.
Change the location by `--root` option.
```
cargo install --path . --locked --root /usr/local
```
[LICENSE]: https://code.simaek.com/xueye/docker-tags/src/branch/main/LICENSE