Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion local_builds/codebuild_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,12 @@ else
docker_command+=" -e \"INITIATOR=$USER\""
fi

docker_command+=" amazon/aws-codebuild-local:latest"
if [ -n $local_agent_image ]
then
docker_command+=" $local_agent_image"
else
docker_command+=" amazon/aws-codebuild-local:latest"
fi

# Note we do not expose the AWS_SECRET_ACCESS_KEY or the AWS_SESSION_TOKEN
exposed_command=$docker_command
Expand Down