v1.0.0
First release. Read service configuration from .skyhook/skyhook.yaml by service name and emit composite-action outputs.
Usage
- name: Read service config
id: cfg
uses: skyhook-io/read-config@v1
with:
working_directory: .
service_name: my-service
- run: |
docker build -f ${{ steps.cfg.outputs.dockerfile_path }} \
${{ steps.cfg.outputs.build_context }}Outputs
name,path,deployment_repo,deployment_repo_pathbuild_context(defaults to"."whenbuildContextis absent and the service is found)dockerfile_pathconfig_found,service_found
Notable behavior
- Errors loudly on: empty
service_name, malformed YAML, duplicate service names. service_namewith a literal"handled via yqstrenv().- Outputs use heredoc form, so multiline / leading-whitespace /
=-containing values round-trip correctly. - Auto-installs yq v4.47.1 on Linux + Darwin (x86_64 + arm64). Rejects preinstalled yq v3.
Tag strategy
v1.0.0is immutable.v1will move to point at the latestv1.x.yrelease.
CI
33 shell tests + an end-to-end smoke test on ubuntu + macos.