diff --git a/Dockerfile b/Dockerfile index b45a0c9..d5fc565 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ RUN apk update RUN apk add jq yq # Copies your code file from your action repository to the filesystem path `/` of the container -COPY entrypoint.sh /entrypoint.sh +COPY sensuflow.sh /sensuflow.sh # Code file to execute when the docker container starts up (`entrypoint.sh`) -ENTRYPOINT ["/entrypoint.sh"] +ENTRYPOINT ["/sensuflow.sh"] diff --git a/README.md b/README.md index f3ba0e5..fcf6cd5 100644 --- a/README.md +++ b/README.md @@ -126,3 +126,6 @@ spec: groups: - sensu_flow ``` + +## Adapting to other CI/CD +If you would like to adapt this for other CI/CD, the sensuflow.sh script from this repository should all you need. The script should be self-documenting with regard to needed executable dependancies and information concerning environment variables used. diff --git a/entrypoint.sh b/sensuflow.sh similarity index 100% rename from entrypoint.sh rename to sensuflow.sh