push-registry

1.0.2 • Public • Published

push-registry

A shorthand for pushing a Docker image to a container registry, cleaning up your local images, and creating a github release

Usage

push-registry <image-name> [-g -d]

  • -g will create a github release with your specified version. Requires gh cli
  • -d will delete the associated docker images after pushing to the registry
  • REGISTRY environment variable
    • Pass this in with REGISTRY=<your/registry/name> push-registry <extra args>
    • Pro Tip: set this in your ~/.zshrc or ~/.bashrc for easy running
      • You can also overwrite your default by setting REGISTRY manually before you run push-registry

Package Sidebar

Install

npm i push-registry

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

2.88 kB

Total Files

3

Last publish

Collaborators

  • micahkatz