forked from MDCPS/DamageAssessment_Backend
		
	modified push acr script
This commit is contained in:
		| @ -15,7 +15,7 @@ echo "New directory: $current_directory" | ||||
| relative_path="DamageAssesmentApi" | ||||
|  | ||||
| # Combine the current directory with the relative path to get the full path to docker-compose.yml | ||||
| composeFile="$current_directory/$relative_path/docker-compose.yml" | ||||
| composeFile="$current_directory/DamageAssesmentApi/docker-compose.yml" | ||||
|  | ||||
| # List of services to build, tag, and push | ||||
| services=( | ||||
| @ -35,7 +35,7 @@ docker login dadeschoolscontainerregistry.azurecr.io -u dadeSchoolsContainerRegi | ||||
| # Loop through the services and build, tag, and push | ||||
| for service in "${services[@]}"; do | ||||
|   # Build the service | ||||
|   docker-compose -f "$composeFile" build  "$service" | ||||
|   docker-compose -f "$composeFile" build  #"$service" | ||||
|  | ||||
|   # Tag the image for ACR | ||||
|   docker tag $service "dadeschoolscontainerregistry.azurecr.io/$service" | ||||
|  | ||||
		Reference in New Issue
	
	Block a user