Skip to content

Commit

Permalink
Fix bug introduced in #1527 (#1533)
Browse files Browse the repository at this point in the history
See https://github.com/sbt/sbt-native-packager/pull/1527/files#diff-b866751bc91854625b6a5d821ae6a4df02736ceb3581779d81319caee1d9d2cdL278-R289

Error when publishing:
```bash
[error] ERROR: "docker buildx build" requires exactly 1 argument.
[error] See 'docker buildx build --help'.
[error] Usage:  docker buildx build [OPTIONS] PATH | URL | -
[error] Start a build
[error] stack trace is suppressed; run last my-app / Docker / publish for the full output
[error] (my-app / Docker / publish) Nonzero exit value: 1
[error] Total time: 189 s (03:09), completed 17 Jan 2023, 12:33:37 pm
```
  • Loading branch information
guizmaii authored Jan 17, 2023
1 parent 3d9200f commit f209010
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ object DockerPlugin extends AutoPlugin {
s"--platform=${dockerBuildxPlatforms.value.mkString(",")}",
"--push"
) ++ dockerBuildOptions.value :+ "."
else dockerBuildCommand.value
else dockerExecCommand.value
alias.foreach { aliasValue =>
publishDocker(context, execCommand, aliasValue.toString, log, multiplatform)
}
Expand Down

0 comments on commit f209010

Please sign in to comment.