aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/main.yml12
-rw-r--r--action-a/Dockerfile13
-rwxr-xr-xaction-a/entrypoint.sh3
-rw-r--r--action-a/thing0
4 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..600954d
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,12 @@
+name: A workflow for my Hello World file
+on: push
+
+jobs:
+ build:
+ name: Hello world action
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@master
+ - uses: ./action-a
+ env:
+ MY_NAME: "Mona"
diff --git a/action-a/Dockerfile b/action-a/Dockerfile
new file mode 100644
index 0000000..58dbd77
--- /dev/null
+++ b/action-a/Dockerfile
@@ -0,0 +1,13 @@
+FROM debian:9.5-slim
+
+LABEL "com.github.actions.name"="Hello World"
+LABEL "com.github.actions.description"="Write arguments to the standard output"
+LABEL "com.github.actions.icon"="mic"
+LABEL "com.github.actions.color"="purple"
+
+LABEL "repository"="http://github.com/octocat/hello-world"
+LABEL "homepage"="http://github.com/actions"
+LABEL "maintainer"="Octocat <octocat@github.com>"
+
+ADD entrypoint.sh /entrypoint.sh
+ENTRYPOINT ["/entrypoint.sh"]
diff --git a/action-a/entrypoint.sh b/action-a/entrypoint.sh
new file mode 100755
index 0000000..d262d66
--- /dev/null
+++ b/action-a/entrypoint.sh
@@ -0,0 +1,3 @@
+#!/bin/sh -l
+
+sh -c "echo Hello world my name is $MY_NAME"
diff --git a/action-a/thing b/action-a/thing
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/action-a/thing