Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/francisfuzz/hello-world-rb

Example of a Docker container action using the ruby:latest image outputting Hello World.
https://github.com/francisfuzz/hello-world-rb

actions docker-container-action hello-world ruby

Last synced: about 6 hours ago
JSON representation

Example of a Docker container action using the ruby:latest image outputting Hello World.

Awesome Lists containing this project

README

        

# francisfuzz/hello-world-rb

This action prints "Hello World" or "Hello" + the name of a person (or thing) to greet to the log. It exists to showcase the minimum required for writing a "Hello World" Docker container action leveraging the `ruby:latest` image.

## Inputs

### `who-to-greet`

**Required** The name of the person (or thing) to greet. Default `"World"`.

## Outputs

None.

## Example usage

Create a new workflow file that triggers on the `workflow_dispatch` event:

```yaml
name: CI
on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: francisfuzz/hello-world-rb@v2
with:
who-to-greet: 'Heaven' # defaults to 'World'
```
## Attribution

This repository was generated from [`actions/container-action`](https://github.com/actions/container-action).

## License

MIT