Skip to content
Open
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
8 changes: 7 additions & 1 deletion rocksteady
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ usage()
echo " \$CIRCLE_SHA1"
echo " Specify the commit SHA for use in tagging"
echo
echo " \$BUNDLE_GEM__FURY__IO"
echo " Specify the token for accessing the Altmetric private gem repository (Optional)"
echo
echo " \$SIDEKIQ_PRO_TOKEN"
echo " Specify the token for installing Sidekiq Pro gem (Optional)"
echo
echo "Exit codes:"
echo " 0 - Success"
echo " 1 - General failure"
Expand Down Expand Up @@ -172,7 +178,7 @@ sub_build() {

`AWS_ACCESS_KEY_ID=$aws_access_key_id AWS_SECRET_ACCESS_KEY=$aws_secret_access_key aws ecr get-login --no-include-email --region $aws_region`

docker build `printf " -t %s" "${tags[@]}"` --build-arg SIDEKIQ_PRO_TOKEN=$SIDEKIQ_PRO_TOKEN .
docker build `printf " -t %s" "${tags[@]}"` --build-arg SIDEKIQ_PRO_TOKEN=$SIDEKIQ_PRO_TOKEN --build-arg BUNDLE_GEM__FURY__IO=$BUNDLE_GEM__FURY__IO .
for tag in "${tags[@]}"
do
docker push $tag
Expand Down