public CreateImageOptions tag(String tag) {
    if (StringUtils.isNotBlank(tag)) {
      options.put("tag", tag);
    }
    return this;
  }
https://docs.docker.com/engine/api/v1.41/#operation/ImageCreate
src/main/java/io/fabric8/maven/docker/access/CreateImageOptions.java