How to use @codefresh-io/docker-reference - 1 common examples

To help you get started, we’ve selected a few @codefresh-io/docker-reference examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github opctl / opctl / sdks / js / src / opspec / interpreter / opcall / params / param / string / validate.ts View on Github external
ajv.addFormat('docker-image-ref', instance => {
  try {
    dockerImageRefParser.parseQualifiedName(instance)
  } catch (err) {
    return false
  }
  return true
})

@codefresh-io/docker-reference

A node.js package to parse docker image reference

MIT
Latest version published 3 years ago

Package Health Score

48 / 100
Full package analysis

Popular @codefresh-io/docker-reference functions

Similar packages