Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisBoudreau committed Feb 17, 2023
1 parent 5479485 commit cac03fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/build-task-definition.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/build-task-definition.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pretty_print_task_definition() {
echo "$task_definition"
}

container_definitions=$(sed -e "s+<IMAGE>+$INPUT_IMAGE+g;" -e "s+<CLUSTER>+$INPUT_CLUSTER+g;" -e "s+<REGION>+$INPUT_REGION+g; "$INPUT_CONTAINER_DEFINITIONS_PATH")
container_definitions=$(sed -e "s+<IMAGE>+$INPUT_IMAGE+g;" -e "s+<CLUSTER>+$INPUT_CLUSTER+g;" -e "s+<REGION>+$INPUT_REGION+g;" "$INPUT_CONTAINER_DEFINITIONS_PATH")
container_definitions=$(
echo "$container_definitions" | \
jq '. | map(if has("portMappings") then .portMappings |= map(if .hostPort == null then .hostPort = .containerPort else . end) else . end)'
Expand Down

0 comments on commit cac03fd

Please sign in to comment.