Skip to content
activity

GitHub Action

Start MongoDB As Docker

v0.2 Latest version

Start MongoDB As Docker

activity

Start MongoDB As Docker

Starts MongoDB specific version in Background as a Docker container

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Start MongoDB As Docker

uses: wbari/start-mongoDB@v0.2

Learn more about this action in wbari/start-mongoDB

Choose a version

Start MongoDB as Docker Container JavaScript Action

Starts the specific version of MongoDB as a detach Docker container

Inputs

mongoDbVersion

Required The version of mongoDB. Default "3.6".

Example usage

...
...
strategy:
      matrix:
        mongodb-version: ["4.0", "4.2"]
...
...
- name: Launch MongoDB
  uses: wbari/start-mongoDB@v0.2
  with:
    mongoDBVersion: ${{ matrix.mongodb-version }}