Calibration of ALMA as a phased array: ALMA observations during the 2017 VLBI campaign