publish function

void publish({
  1. required Image image,
  2. bool showProgress = true,
})

Implementation

void publish({required Image image, bool showProgress = true}) {
  final progress = showProgress ? Progress.print() : Progress.printStdErr();
  'docker push ${image.fullname}'.start(progress: progress);
}