diff --git a/Dockerfile b/Dockerfile index 414ca33..d1191fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:20.04 +FROM debian:10.6-slim RUN apt-get update && \ apt-get install -y \ diff --git a/README.md b/README.md index d70a37d..f3d5c70 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,17 @@ -# consul_configs_submit_action -Submit Consul configurations to server +# Submit Consul Configurations + +A GitHub Action that finds all configuration files and uploads them to a Consul Server +## Features + +Searches all subdirectories of `location` using `regex` expression. All matched files will be uploaded to the Consul Server at `addr`. + +## Example Usage +``` + - name: consul + uses: pennsignals/consul_configs_submit_action@main + with: + addr: 'http://10.146.0.5:8500/v1/kv' # required + regex: '^.*.(yaml|yml|conf|json)$' # required + location: "./project/local" # optional (default = "./") + path: "organization/project/tag" # optional (default = "") +``` \ No newline at end of file