Skip to content

Commit

Permalink
Add --amend to docker manifest create to fix docker latest tag (hyper…
Browse files Browse the repository at this point in the history
…ledger#5661)

We need to replace previous release's latest tag. Might be broken due to a recent change in the docker command implementation
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
  • Loading branch information
siladu committed Jun 30, 2023
1 parent b6ad540 commit d81abd6
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 @@ -870,7 +870,7 @@ task manifestDockerRelease {
archs.forEach { arch -> targets += "'${variantImage}-${arch}' " }

exec {
def cmd = "docker manifest create '${variantImage}' ${targets}"
def cmd = "docker manifest create '${variantImage}' ${targets} --amend"
println "Executing '${cmd}'"
executable "sh"
args "-c", cmd
Expand All @@ -886,7 +886,7 @@ task manifestDockerRelease {
exec {
def targets = ""
archs.forEach { arch -> targets += "'${baseTag}-${arch}' " }
def cmd = "docker manifest create '${baseTag}' ${targets}"
def cmd = "docker manifest create '${baseTag}' ${targets} --amend"
println "Executing '${cmd}'"
executable "sh"
args "-c", cmd
Expand Down

0 comments on commit d81abd6

Please sign in to comment.