       (-> (cc/dockeruser id)
           (dac/token name)
           :token
-          (drc/manifest name tag))
+          (drc/distribution name tag))
       (-> (cc/registry id)
-          (rc/manifest name tag))) [:config :digest]))
+          (rc/distribution name tag))) [:config :digest]))
 
 ;;; Task API
 

      (rc/tags repository-name)
      :tags))

(defn registryy-ports
  [registry-name repository-name repository-tag]
  (-> (registry-by-name registry-name)
      (rc/manifest repository-name repository-tag)
      (rmi/->repository-config)
      :config


(defn public-tags
  [repository-name]
  (dockeruser-tags nil repository-name))

(defn public-ports
  [repository-name repository-tag]
  (dockeruser-ports nil repository-name repository-tag))

;;; Registry API

