File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
deployment/mergebranch-webhook-deployment/ServiceGroupRoot/Scripts Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 7575fi
7676
7777echo " 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
You can’t perform that action at this time.
0 commit comments