added files for github action

This commit is contained in:
Pascal Sochacki
2020-02-26 09:09:37 +11:00
committed by Mike Farah
parent d356fa0d0b
commit da398765b8
3 changed files with 20 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
name: 'YAML processor'
description: 'YAML processor for running in Github action'
inputs:
cmd:
description: 'The Command which should be run'
required: true
runs:
using: 'docker'
image: 'github-action/Dockerfile'
args:
- ${{ inputs.cmd }}
+5
View File
@@ -0,0 +1,5 @@
FROM mikefarah/yq:3
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh -l
echo "$1"
eval $1