We have been to Alaska twice during the end of June, early July. The first time we were there it was sunny and we had shorts on the whole time. The next trip was over cast and pretty cold. We had to buy hats and gloves. Make sure you have some of both types of clothes. You could pack jeans and buy sweatshirts in port if it is cool.
Have a great trip,