From 92ee38b5c640c9d4deeec60ff5d23800a46c2dbe Mon Sep 17 00:00:00 2001 From: scdub <46331011+scdub@users.noreply.github.com> Date: Wed, 28 Aug 2019 12:41:47 -0400 Subject: [PATCH 1/2] Update Dockerfile --- action-a/Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 action-a/Dockerfile diff --git a/action-a/Dockerfile b/action-a/Dockerfile new file mode 100644 index 0000000..05ff2ca --- /dev/null +++ b/action-a/Dockerfile @@ -0,0 +1,14 @@ +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 " + +ADD entrypoint.sh /entrypoint.sh +RUN chmod +x /entrypoint.sh +ENTRYPOINT ["/entrypoint.sh"] From 062318a65584b16d813e0edb8adec026b8911663 Mon Sep 17 00:00:00 2001 From: scdub <46331011+scdub@users.noreply.github.com> Date: Wed, 28 Aug 2019 12:42:43 -0400 Subject: [PATCH 2/2] Update entrypoint.sh --- action-a/entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 action-a/entrypoint.sh diff --git a/action-a/entrypoint.sh b/action-a/entrypoint.sh new file mode 100644 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"