Şöyle yaparız
plugins {...id 'com.google.cloud.tools.jib' version '3.3.0' //You just need to add a plugin}jib {from {image = 'openjdk:alpine' //You may leave it empty to use a default image}to {image = 'alekseinovikov/jib-example' //By default Jib pushes images into Docker Hubtags = ['0.1', 'latest']auth {username = 'username' //Docker Hub requires authenticationpassword = 'password'}}container {jvmFlags = ['-Xms128m'] //You may pass additional flagsports = ['8080'] //Open portsformat = 'OCI' //Even choose a format of the image you are building}}