Skip to content
terminal

GitHub Action

Setup Dockem

v2.5.0 Latest version

Setup Dockem

terminal

Setup Dockem

Sets up the dockem cli for use in your actions

Installation

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

              

- name: Setup Dockem

uses: kerren/[email protected]

Learn more about this action in kerren/setup-dockem

Choose a version

Dockem

This is the Github Action used to install the dockem cli.

Usage

Below is an example of a Github Action that pulls in the cli,

name: "Run Action"

on:
  push:
    branches:
      - main
      - develop

jobs:
  run:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Setup Dockem
        uses: kerren/setup-dockem@v2

      - name: Run Dockem
        run: dockem --version

You are able to track a specific version or the lastest within that major version number. For instance, you can use v2.1.0 like so,

      - name: Setup Dockem
        uses: kerren/[email protected]

      - name: Run Dockem
        run: dockem --version

Or use the latest of version 2 like so,

      - name: Setup Dockem
        uses: kerren/setup-dockem@v2

      - name: Run Dockem
        run: dockem --version