Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0b406c0e14 | ||
|
|
8579a20b8f | ||
|
|
778deccca4 | ||
|
|
b136eb8894 | ||
|
|
8d80963566 | ||
|
|
fc354d7d3e | ||
|
|
2f7c2dc976 |
@@ -1,6 +1,6 @@
|
||||
# Hello world docker action
|
||||
|
||||
This action prints "Hello World" to the log or "Hello" + the name of a person to greet. To learn how this action was built, see "[Creating a Docker action](https://help.github.com/en/articles/creating-a-docker-action)" in the GitHub Help documentation.
|
||||
This action prints "Hello World" to the log or "Hello" + the name of a person to greet. To learn how this action was built, see "[Creating a Docker container action](https://docs.github.com/en/actions/creating-actions/creating-a-docker-container-action)" in the GitHub Docs.
|
||||
|
||||
## Inputs
|
||||
|
||||
@@ -17,7 +17,7 @@ The time we greeted you.
|
||||
## Example usage
|
||||
|
||||
```yaml
|
||||
uses: actions/hello-world-docker-action@master
|
||||
uses: actions/hello-world-docker-action@main
|
||||
with:
|
||||
who-to-greet: 'Mona the Octocat'
|
||||
```
|
||||
|
||||
@@ -7,7 +7,7 @@ inputs:
|
||||
default: 'World'
|
||||
outputs:
|
||||
time: # id of output
|
||||
description: 'The time we we greeted you'
|
||||
description: 'The time we greeted you'
|
||||
runs:
|
||||
using: 'docker'
|
||||
image: 'Dockerfile'
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
|
||||
echo "Hello $1"
|
||||
time=$(date)
|
||||
echo ::set-output name=time::$time
|
||||
echo "time=$time" >> $GITHUB_OUTPUT
|
||||
|
||||
Reference in New Issue
Block a user