Skip to content

v1.5.2

Choose a tag to compare

@eliran-ops eliran-ops released this 30 Apr 18:47
· 2 commits to main since this release
1fdb7ba

Fixes

  • Input contract: user-provided context and dockerfile inputs now correctly override the values derived from service_name / .skyhook/skyhook.yaml. Previously the resolve step always emitted resolved_context=code, which made inputs.context dead code (#5).
  • Drops default: '.' and default: 'Dockerfile' from the context/dockerfile inputs (defaults still applied via build-step fallback) so the action can distinguish "user provided" from "user omitted".
  • Resolve step is gated on service_name != '' && (context == '' || dockerfile == '') and only emits resolved_* outputs when actually resolved from .skyhook/skyhook.yaml.

Behavior change

When service_name is provided but the config file or service is missing, the build now falls back to inputs.context || '.' instead of the implicit code/ safety net (commit 56d501c). The existing warning ("Falling back to input parameters") now matches behavior. Callers in this state should either fix their config or pass explicit context: code.

Precedence

inputs.X -> service_name-derived value -> default (. for context, Dockerfile for dockerfile).

Full Changelog: v1.5.1...v1.5.2