Skip to content

Commit

Permalink
Refactored heroku deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtisassad committed Sep 26, 2024
1 parent c285998 commit 9c54302
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/deploy-to-heroku.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,13 @@ for dockerfile in ${commonwealth_path}/Dockerfile.*; do

heroku_tag=registry.heroku.com/${app_name}/${base_name}

echo ${dockerfile}
echo ${heroku_tag}:latest

docker build -f ${dockerfile} -t ${heroku_tag}:latest .

echo docker image ls

docker push ${heroku_tag}:latest

process_types="${process_types} ${base_name}"

echo "Built and pushed image ${heroku_tag} using $dockerfile"
done

process_types=$(echo $process_types | xargs)
Expand Down

0 comments on commit 9c54302

Please sign in to comment.