asaaki / hello-world-docker-action

GitHub Action Experiment (Docker)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello World GitHub Action (Docker)

This action prints "Hello World" or "Hello" + the name of a person to greet to the log.

Inputs

greetee

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

Outputs

time

The time we greeted you.

Example usage

on: [push]

jobs:
  hello_world_job:
    runs-on: ubuntu-latest
    name: A job to say hello
    steps:
    - name: Hello world action step
      id: hello # for use in step below
      uses: asaaki/hello-world-docker-action@v0
      with:
        adressee: 'Happy User'
    - name: Get the output time
      run: echo "The time was ${{ steps.hello.outputs.time }}"

Guide: https://docs.github.com/en/actions/creating-actions/creating-a-docker-container-action

About

GitHub Action Experiment (Docker)

License:MIT License


Languages

Language:Rust 51.9%Language:Dockerfile 30.2%Language:Makefile 17.9%