code: func (i *ImageService) TagImageWithReference(imageID image.ID, newTag reference.Named) error {
  	if err := i.referenceStore.AddTag(newTag, imageID.Digest(), true); err != nil {
  		return err
  	}
  
  	if err := i.imageStore.SetLastUpdated(imageID); err != nil {
  		return err
  	}
  	i.LogImageEvent(imageID.String(), reference.FamiliarString(newTag), "tag")
  	return nil
  }
docs: // TagImageWithReference adds the given reference to the image ID provided.