diff --git a/.github/main.workflow b/.github/workflows/main.yml similarity index 100% rename from .github/main.workflow rename to .github/workflows/main.yml diff --git a/codecov-action/README.md b/README.md similarity index 100% rename from codecov-action/README.md rename to README.md diff --git a/codecov-action/entrypoint.sh b/codecov-action/entrypoint.sh deleted file mode 100644 index e69de29..0000000 diff --git a/codecov-action/Dockerfile b/codecov/Dockerfile similarity index 80% rename from codecov-action/Dockerfile rename to codecov/Dockerfile index 6a23ac7..9215c65 100644 --- a/codecov-action/Dockerfile +++ b/codecov/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:9.5-slim +FROM alpine:3.10.1 LABEL "com.github.actions.name"="Codecov" LABEL "com.github.actions.description"="Upload coverage reports to codecov" @@ -9,9 +9,7 @@ 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 +RUN apk add --no-cache curl bash git ADD entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh diff --git a/codecov/entrypoint.sh b/codecov/entrypoint.sh new file mode 100644 index 0000000..9b6ec4e --- /dev/null +++ b/codecov/entrypoint.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +set -eu + +bash <(curl -s https://codecov.io/bash) \ No newline at end of file