From 4779151e5f9f8c6fc19c08676a5b001d9c6e2577 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cibrahim0814=E2=80=9D?= Date: Tue, 30 Jul 2019 18:21:05 -0700 Subject: [PATCH] initial commit --- .github/main.workflow | 3 +++ codecov-action/Dockerfile | 18 ++++++++++++++++++ codecov-action/README.md | 7 +++++++ codecov-action/entrypoint.sh | 0 4 files changed, 28 insertions(+) create mode 100644 .github/main.workflow create mode 100644 codecov-action/Dockerfile create mode 100644 codecov-action/README.md create mode 100644 codecov-action/entrypoint.sh diff --git a/.github/main.workflow b/.github/main.workflow new file mode 100644 index 0000000..f3dcb59 --- /dev/null +++ b/.github/main.workflow @@ -0,0 +1,3 @@ +action "action a" { + uses = "./codecov-action/" +} \ No newline at end of file diff --git a/codecov-action/Dockerfile b/codecov-action/Dockerfile new file mode 100644 index 0000000..6a23ac7 --- /dev/null +++ b/codecov-action/Dockerfile @@ -0,0 +1,18 @@ +FROM debian:9.5-slim + +LABEL "com.github.actions.name"="Codecov" +LABEL "com.github.actions.description"="Upload coverage reports to codecov" +LABEL "com.github.actions.icon"="umbrella" +LABEL "com.github.actions.color"="red" + +LABEL "repository"="https://github.com/ibrahim0814/github-actions-test.git" +LABEL "homepage"="https://www.codecov.io" +LABEL "maintainer"="Ib " + +RUN apt-get install bash-completion +RUN apt-get install git-all +RUN apt-get install curl + +ADD entrypoint.sh /entrypoint.sh +RUN chmod +x /entrypoint.sh +ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file diff --git a/codecov-action/README.md b/codecov-action/README.md new file mode 100644 index 0000000..7f3ff99 --- /dev/null +++ b/codecov-action/README.md @@ -0,0 +1,7 @@ +## Things to put in readme + +* A detailed description of what the action does. +* Environment variables the action uses. +* Secrets the action uses. Production secrets should not be stored in the API during the limited public beta period. +* Required arguments. +* Optional arguments. \ No newline at end of file diff --git a/codecov-action/entrypoint.sh b/codecov-action/entrypoint.sh new file mode 100644 index 0000000..e69de29