Skip to content

Commit

Permalink
docker: tag -f is deprecated (#821) (#845)
Browse files Browse the repository at this point in the history
fixes #818
  • Loading branch information
maciej authored and muuki88 committed Jul 12, 2016
1 parent 6854743 commit a68c7c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ object DockerPlugin extends AutoPlugin {

if (latest) {
val name = tag.substring(0, tag.lastIndexOf(":")) + ":latest"
val latestCmd = Seq("docker", "tag", "-f", tag, name)
val latestCmd = Seq("docker", "tag", tag, name)
Process(latestCmd).! match {
case 0 => log.info("Update Latest from image " + tag)
case n => sys.error("Failed to run docker tag")
Expand Down

0 comments on commit a68c7c3

Please sign in to comment.