Skip to content

Commit

Permalink
logg
Browse files Browse the repository at this point in the history
  • Loading branch information
brunocascio committed Dec 12, 2019
1 parent f8bb3c1 commit 60e223d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@

set -e o pipefail

echo $INPUT_CONTAINER
echo $INPUT_CLUSTER
echo $INPUT_TASK
echo $INPUT_SERVICE

env_variables=$(jq -n 'env' | jq --arg CONTAINER "$INPUT_CONTAINER" -r 'keys[] as $k | "-e \($CONTAINER) \($k) \"\(values[$k])\""')

command=$(printf "ecs deploy $INPUT_CLUSTER $INPUT_SERVICE --task $INPUT_TASK $env_variables --exclusive-env")

echo $command

eval $command

0 comments on commit 60e223d

Please sign in to comment.