Skip to content

Commit

Permalink
Update docker image name
Browse files Browse the repository at this point in the history
  • Loading branch information
harishmohanraj committed Apr 12, 2024
1 parent 7144624 commit 06b5788
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/deploy_backend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ $ssh_command "docker container prune -f || echo 'No stopped containers to delete

echo "INFO: pulling docker image"
$ssh_command "echo $GITHUB_PASSWORD | docker login -u '$GITHUB_USERNAME' --password-stdin '$REGISTRY'"
$ssh_command "docker pull ghcr.io/$GITHUB_REPOSITORY-python:'$TAG'"
$ssh_command "docker pull ghcr.io/$GITHUB_REPOSITORY:'$TAG'"
sleep 10

echo "Deleting old image"
Expand All @@ -64,4 +64,4 @@ $ssh_command "docker run --name $container_name -p $PORT:$PORT -e PORT='$PORT' \
-e WASP_SERVER_URL='$WASP_SERVER_URL' \
-e STRIPE_KEY='$STRIPE_KEY' -e PRO_SUBSCRIPTION_PRICE_ID='$PRO_SUBSCRIPTION_PRICE_ID' \
-e STRIPE_WEBHOOK_SECRET='$STRIPE_WEBHOOK_SECRET' -e ADMIN_EMAILS='$ADMIN_EMAILS' \
-d ghcr.io/$GITHUB_REPOSITORY-python:$TAG"
-d ghcr.io/$GITHUB_REPOSITORY:$TAG"

0 comments on commit 06b5788

Please sign in to comment.