public Builder platforms(List<String> platforms) {
            config.platforms = EnvUtil.removeEmptyEntries(platforms);
            if (!config.platforms.isEmpty()) {
                isEmpty = false;
            }
            return this;
        }
Secret to expose to the build
src/main/java/io/fabric8/maven/docker/config/BuildXConfiguration.java