0.16: Release Notes

v0.16 was released on February 16. Here is the list of other implemented features and important fixes:

Granular Permissions For Docker Registry

Docker-adapter supports granular permissions, which means that some operations can be granted for specific scope and image. Here is the example docker repository settings yaml:

repo:
  type: docker
  storage:
    type: fs
    path: /var/artipie/data
  permissions:
    alice:
      - repository:my-alpine:*
      - repository:ubuntu-latest:pull
      - repository:some-image:overwrite
      - repository:some-image:push
    mike:
      - repository:some-image:push
      - repository:some-image:pull
    bob:
      - registry:base:*
      - registry:catalog:*

Each permission consists of three parts: scope:name:action, scope can be either “registry” for the registry level operations or “repository”. Name is the access resource name, action can be one of pull, push, overwrite or * (* stands for any action), overwrite works for overwriting existing tags and allows creating new tags by default.