Skip to content

Add sanity checks and fixes to deploy.sh

Lance Albertson requested to merge ramereth/deploy.sh-fixes into master

Created by: ramereth

This script didn't account for a situation where there is a version bump or this is the first image of its kind when publishing a new image. An example is with the PR#54 where we version bumped the image from 42.2 to 42.3. Here are some changes made in this PR:

  • If no old image is found, just go ahead and publicize the image and do not try to set a non-existent image as deprecated
  • Add sanity check in case we can't find the new image ID for whatever reason
  • Add verbose option for debugging purposes

Merge request reports

Loading