Method is not used as input or output property
@@ -19,6 +19,7 @@ import com.bmuschko.gradle.docker.DockerRegistryCredentials
import com.bmuschko.gradle.docker.tasks.AbstractDockerRemoteApiTask
import com.bmuschko.gradle.docker.tasks.RegistryCredentialsAware
import org.gradle.api.tasks.Input
+import org.gradle.api.tasks.Internal
import org.gradle.api.tasks.Nested
import org.gradle.api.tasks.Optional
@@ -61,7 +62,8 @@ class DockerPullImage extends AbstractDockerRemoteApiTask implements RegistryCre
response.awaitSuccess()
}
- public String getImageId() {
+ @Internal
+ String getImageId() {
tag?.trim() ? "${repository}:${tag}" : repository
}
}
