Skip to content

Plugin to ability build docker images and push to docker hub in release-it workflow.

License

Notifications You must be signed in to change notification settings

Raiper34/release-it-docker-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm version npm bundle size NPM npm npm npm GitHub Repo stars

Release It! 🚀 - Docker plugin

Plugin to ability build docker images and push to docker hub in release-it workflow.

Content

🚀 Instalation

Install library using npm:

npm install release-it-docker-plugin --save-dev

💻 Usage

Use the plugin in .release-it.json as follows:

{
  "$schema": "https://unpkg.com/release-it/schema/release-it.json",
  ...
  "plugins": {
    ...
    "release-it-docker-plugin": {
      "build": true,
      "push": true,
      "latestTag": true,
      "imageName": "<YOUR_IMAGE_NAME>"
    }
  }
}

Options

The plugin can be configured with the following options:

Name Default value Description
build false if plugin should build docker image
push false if plugin should push docker image to docker hub
latestTag false if also latest tag should be built and pushed
imageName undefined name of docker image to build and push

📖 License

MIT

About

Plugin to ability build docker images and push to docker hub in release-it workflow.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published