release-it-docker-plugin

2.0.0 • Public • Published

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
imageName undefined name of docker image to build and push
latestTag false if also latest tag should be built and pushed
buildx false if plugin should use new buildx tool
build false if plugin should build docker image, only applicable without with buildx
push false if plugin should push docker image to docker hub, only applicable without with buildx
builder undefined builder name, only applicable together with buildx
output docker where image will be stored (available options docker or registry), only applicable together with buildx

📖 License

MIT

/release-it-docker-plugin/

    Package Sidebar

    Install

    npm i release-it-docker-plugin

    Weekly Downloads

    11

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    9.81 kB

    Total Files

    6

    Last publish

    Collaborators

    • raiper34