2.0.0 • Published 4 months ago

release-it-docker-plugin v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

npm version npm bundle size NPM npm npm npm npm.io 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:

NameDefault valueDescription
imageNameundefinedname of docker image to build and push
latestTagfalseif also latest tag should be built and pushed
buildxfalseif plugin should use new buildx tool
buildfalseif plugin should build docker image, only applicable without with buildx
pushfalseif plugin should push docker image to docker hub, only applicable without with buildx
builderundefinedbuilder name, only applicable together with buildx
outputdockerwhere image will be stored (available options docker or registry), only applicable together with buildx

📖 License

MIT

2.0.0

4 months ago

1.0.0

5 months ago

0.0.6

6 months ago

0.0.5

6 months ago

0.0.4

6 months ago

0.0.2

6 months ago

0.0.1

6 months ago

0.0.0

6 months ago