containerregistry

Version, currently 0.1.01 version
  • 0.1.0latestJul 27, 2019

github.com/naqvis/containerregistry.cr

Crystal Library for working with container registries.

7 stars
1 dependent
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  containerregistry:
    github: naqvis/containerregistry.cr
    version: ~> 0.1.0

Then run:

shards install

shard.yml

Crystal
0.29.0
License
MIT
Author
Ali Naqvi <syed.alinaqvi@gmail.com>

Dependencies

Runtime Dependencies

  • cossack~> 0.1.5github: naqvis/cossack
  • crystar~> 0.1.0github: naqvis/crystar

README

[![Build Status](https://travis-ci.org/naqvis/containerregistry.cr.svg?branch=master)](https://travis-ci.org/naqvis/containerregistry.cr)
[![GitHub release](https://img.shields.io/github/release/naqvis/containerregistry.cr.svg)](https://github.com/naqvis/containerregistry.cr/releases)
[![Docs](https://img.shields.io/badge/docs-available-brightgreen.svg)](https://naqvis.github.io/containerregistry.cr/)

# Crystal - Container Registry Shard

`containerregistry.cr` shard is a library for working with container registries. It's largely based on the [Go library of the same name](https://github.com/google/go-containerregistry).

The following diagram shows the main types that this library handles.
![OCI image representation](images/ociimage.jpeg)

## Installation

1. Add the dependency to your `shard.yml`:

   ```yaml
   dependencies:
     containerregistry:
       github: naqvis/containerregistry.cr
   ```

2. Run `shards install`

## Usage

```crystal
require "containerregistry"
```
Refer to [`opal`](https://github.com/naqvis/opal) for CLI and usage

## Development

To run all tests:

```
crystal spec
```

## Contributing

1. Fork it (<https://github.com/naqvis/containerregistry.cr/fork>)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

## Contributors

- [Ali Naqvi](https://github.com/naqvis) - creator and maintainer