Skip to content

Commit

Permalink
Fix target defaulting to . (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
72636c authored May 18, 2020
1 parent 18be031 commit 90bb5ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/command
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 90bb5ce

Please sign in to comment.