Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using podman dockerBuildAndPush error Could not parse Docker image digest #134

Open
demitov opened this issue Dec 26, 2023 · 1 comment
Open

Comments

@demitov
Copy link

demitov commented Dec 26, 2023

I have installed Podman in k8s container, and create symlink /usr/bin/docker -> /usr/bin/podman. When execute dockerBuildAndPush i get an error, because Podman don't return digest after podman push.

[error] sbtdocker.DockerPushException: Could not parse Docker image digest
[error]   at sbtdocker.DockerPush$.apply(DockerPush.scala:61)
[error]   at sbtdocker.DockerPush$.$anonfun$apply$1(DockerPush.scala:18)
[error]   at scala.collection.immutable.List.map(List.scala:293)
[error]   at sbtdocker.DockerPush$.apply(DockerPush.scala:17)
[error]   at sbtdocker.DockerSettings$.$anonfun$baseDockerSettings$2(DockerSettings.scala:26)
[error]   at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error]   at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
[error]   at sbt.std.Transform$$anon$4.work(Transform.scala:68)
[error]   at sbt.Execute.$anonfun$submit$2(Execute.scala:282)
[error]   at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:23)
[error]   at sbt.Execute.work(Execute.scala:291)
[error]   at sbt.Execute.$anonfun$submit$1(Execute.scala:282)
[error]   at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error]   at sbt.CompletionService$$anon$2.call(CompletionService.scala:64)
[error]   at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error]   at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[error]   at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error]   at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[error]   at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[error]   at java.base/java.lang.Thread.run(Thread.java:829)
[error] (dockerPush) sbtdocker.DockerPushException: Could not parse Docker image digest
@demitov demitov changed the title Using podman dockerBuildAndPush error Could not parse Docker image Using podman dockerBuildAndPush error Could not parse Docker image digest Jan 9, 2024
@ItgLvb
Copy link

ItgLvb commented Jan 11, 2024

fix for issue - #135

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants