modified push acr script
This commit is contained in:
parent
fa68071d64
commit
0cc5be64ee
@ -35,10 +35,10 @@ 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"
|
||||
docker tag $service "dadeschoolscontainerregistry.azurecr.io/$service"
|
||||
|
||||
# Push the image to ACR
|
||||
docker push "dadeschoolscontainerregistry.azurecr.io/$service"
|
||||
@ -49,5 +49,5 @@ current_directory="$(pwd)"
|
||||
echo "Current directory: $current_directory"
|
||||
|
||||
# Wait for a keypress
|
||||
echo "Press any key to continue..."
|
||||
read -n 1 -s -r -p ""
|
||||
#echo "Press any key to continue..."
|
||||
#read -n 1 -s -r -p ""
|
||||
|
Loading…
Reference in New Issue
Block a user