Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/francisfuzz/hello-world-rb
- Owner: francisfuzz
- License: mit
- Created: 2021-04-26T23:47:10.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-04-27T15:48:10.000Z (over 3 years ago)
- Last Synced: 2024-04-17T17:15:31.751Z (7 months ago)
- Topics: actions, docker-container-action, hello-world, ruby
- Language: Ruby
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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'
```
## AttributionThis repository was generated from [`actions/container-action`](https://github.com/actions/container-action).
## License
MIT