Skip to content

Commit 62b0e7e

Browse files
FIx Release script again (#1430)
* add changes for regex * add changes
1 parent 907a342 commit 62b0e7e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

deployment/mergebranch-webhook-deployment/ServiceGroupRoot/Scripts/pushWebhookToAcr.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ else
7575
fi
7676

7777
echo "Pushing ${WEBHOOK_IMAGE_FULL_PATH} to ${ACR_NAME} with source ${SOURCE_IMAGE_FULL_PATH} and force option set to ${AZ_ACR_IMPORT_FORCE}"
78-
# az acr import --name $ACR_NAME --source $SOURCE_IMAGE_FULL_PATH --image $WEBHOOK_IMAGE_FULL_PATH $AZ_ACR_IMPORT_FORCE
79-
# if [ $? -eq 0 ]; then
80-
# echo "Retagged and pushed image successfully"
81-
# else
82-
# echo "-e error failed to retag and push image to destination ACR"
83-
# exit 1
84-
# fi
78+
az acr import --name $ACR_NAME --source $SOURCE_IMAGE_FULL_PATH --image $WEBHOOK_IMAGE_FULL_PATH $AZ_ACR_IMPORT_FORCE
79+
if [ $? -eq 0 ]; then
80+
echo "Retagged and pushed image successfully"
81+
else
82+
echo "-e error failed to retag and push image to destination ACR"
83+
exit 1
84+
fi

0 commit comments

Comments
 (0)