Skip to content

Commit

Permalink
fixed manifest generation for latest docker tag (hyperledger#3880)
Browse files Browse the repository at this point in the history
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
  • Loading branch information
macfarla authored May 20, 2022
1 parent d2e8d80 commit 12a0ba9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -786,8 +786,8 @@ task manifestDocker {
}

if (!(dockerBuildVersion ==~ /.*-SNAPSHOT/)) {
tags.add('${dockerImage}:latest')
tags.add('${dockerImage}:' + dockerBuildVersion.split(/\./)[0..1].join('.'))
tags.add("${dockerImage}:latest")
tags.add("${dockerImage}:" + dockerBuildVersion.split(/\./)[0..1].join('.'))
}

doLast {
Expand Down

0 comments on commit 12a0ba9

Please sign in to comment.