Initial commit

This commit is contained in:
Rachael Sewell
2019-08-03 21:11:09 -07:00
committed by GitHub
commit bd2f61ac51
3 changed files with 25 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
FROM alpine:3.10
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
+15
View File
@@ -0,0 +1,15 @@
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 we greeted you'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.who-to-greet }}
+5
View File
@@ -0,0 +1,5 @@
#!/bin/sh -l
echo "Hello $1"
time=$(date)
echo "##[set-output name=time]$time"