mirror of
https://github.com/ditkrg/project-version-check.git
synced 2026-01-22 22:06:42 +00:00
init commit
Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
This commit is contained in:
parent
cf16dfe5a0
commit
10fcf8a2cd
16
.github/actions/action.yaml
vendored
Normal file
16
.github/actions/action.yaml
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
name: "Hello World"
|
||||
description: "Greet someone and record the time"
|
||||
inputs:
|
||||
who-to-greet: # id of input
|
||||
description: "Who to greet"
|
||||
required: true
|
||||
default: "World"
|
||||
outputs:
|
||||
time: # id of output
|
||||
description: "The time we greeted you"
|
||||
|
||||
runs:
|
||||
using: "docker"
|
||||
image: "Dockerfile"
|
||||
args:
|
||||
- ${{ inputs.who-to-greet }}
|
||||
5
Dockerfile
Normal file
5
Dockerfile
Normal file
@ -0,0 +1,5 @@
|
||||
FROM alpine:3.10
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
ENTRYPOINT [ "./entrypoint.sh" ]
|
||||
21
README.md
Normal file
21
README.md
Normal file
@ -0,0 +1,21 @@
|
||||
# Hello world docker action
|
||||
|
||||
This action prints "Hello World" or "Hello" + the name of a person to greet to the log.
|
||||
|
||||
## Inputs
|
||||
|
||||
## `who-to-greet`
|
||||
|
||||
**Required** The name of the person to greet. Default `"World"`.
|
||||
|
||||
## Outputs
|
||||
|
||||
## `time`
|
||||
|
||||
The time we greeted you.
|
||||
|
||||
## Example usage
|
||||
|
||||
uses: actions/hello-world-docker-action@v2
|
||||
with:
|
||||
who-to-greet: 'Mona the Octocat'
|
||||
0
entrypoint.sh
Executable file → Normal file
0
entrypoint.sh
Executable file → Normal file
Loading…
Reference in New Issue
Block a user