From 90bb5ce3135c8ac35ef1986d84cb3327ac6aabe3 Mon Sep 17 00:00:00 2001 From: Ryan Ling Date: Tue, 19 May 2020 09:33:40 +1000 Subject: [PATCH] Fix target defaulting to `.` (#19) --- hooks/command | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/command b/hooks/command index 5853fba..690eea7 100755 --- a/hooks/command +++ b/hooks/command @@ -98,7 +98,7 @@ echo '--- Reading plugin parameters' dockerfile="${BUILDKITE_PLUGIN_DOCKER_ECR_PUBLISH_DOCKERFILE:-Dockerfile}" build_context="${BUILDKITE_PLUGIN_DOCKER_ECR_PUBLISH_BUILD_CONTEXT:-.}" -target="${BUILDKITE_PLUGIN_DOCKER_ECR_PUBLISH_TARGET:-.}" +target="${BUILDKITE_PLUGIN_DOCKER_ECR_PUBLISH_TARGET:-}" if [[ -z ${BUILDKITE_PLUGIN_DOCKER_ECR_PUBLISH_ECR_NAME:-} ]]; then echo "'ecr-name' property is required"