diff --git a/cope2n-ai-fi/modules/sdsvkvu b/cope2n-ai-fi/modules/sdsvkvu index 4caed0d..11fb958 160000 --- a/cope2n-ai-fi/modules/sdsvkvu +++ b/cope2n-ai-fi/modules/sdsvkvu @@ -1 +1 @@ -Subproject commit 4caed0d5ee08d1114727effd19bf32beab5263dc +Subproject commit 11fb9588df7e6cb03e7a761e3f728f11045bee09 diff --git a/deploy_images.sh b/deploy_images.sh index 07a1c02..75d720d 100755 --- a/deploy_images.sh +++ b/deploy_images.sh @@ -5,6 +5,9 @@ tag=$1 echo "[INFO] Tag received from Python: $tag" +echo "[INFO] Updating everything the remote..." +git submodule update --recursive --remote + echo "[INFO] Pushing AI image with tag: $tag..." docker compose -f docker-compose-dev.yml build cope2n-fi-sbt docker tag sidp/cope2n-ai-fi-sbt:latest public.ecr.aws/v4n9y6r8/sidp/cope2n-ai-fi-sbt:${tag} @@ -22,4 +25,4 @@ docker push public.ecr.aws/v4n9y6r8/sidp/cope2n-fe-fi-sbt:${tag} cp ./docker-compose-prod.yml ./docker-compose_${tag}.yml sed -i "s/{{tag}}/$tag/g" ./docker-compose_${tag}.yml -cp .env_prod .env_${tag} +cp .env_prod .env_${tag} \ No newline at end of file