wulfland / DockerActionRecipe

A Docker container actions that handles input and output writes a job summary.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DockerActionRecipe

A Docker container actions that handles input and output writes a job summary.

Inputs

who-to-greet

Required The name of the person to greet. Default "World".

Outputs

answer

The answer to the ultimate question of life, the universe, and everything.

Usage

- uses: wulfland/DockerActionRecipe@v1.0
  with:
    # Required: the person to greet with the action
    # Default: World
    who-to-greet: ''

Examples

Simple example

- uses: wulfland/DockerActionRecipe@v1.0
  with:
    who-to-greet: 'Arthur Dent'

Example that uses the output parameter

- uses: wulfland/DockerActionRecipe@v1.0
  id: my-action
  with:
    who-to-greet: 'Arthur Dent'

- name: Output the answer
  run: echo "The answer is '${{ steps.my-action.outputs.answer }}'"

About

A Docker container actions that handles input and output writes a job summary.

License:MIT License


Languages

Language:Shell 62.6%Language:Dockerfile 37.4%