oci-r2-uploader
Rust library for converting and uploading Docker images to Cloudflare R2 Storage with customizable image and tag parameters.
Features
- Convert Docker images to OCI format
- Upload Docker images to Cloudflare R2 Storage
- Customizable image and tag parameters
Installation
Add the following dependency to your Cargo.toml
file:
[]
= "0.1.2"
Prerequisites
-
Install
skopeo
on your system. Follow the official installation instructions for your specific platform. (if you are using macOS, you can install it withbrew install skopeo
) -
You need to set the following environment variables:
Usage
use oci_r2_uploader;
async
License
This project is licensed under the MIT License.
Contributing
- Fork the repository
- Create your feature branch (git checkout -b feature/my-feature)
- Commit your changes (git commit -am 'Add my feature')
- Push to the branch (git push origin feature/my-feature)
- Create a new Pull Request