Skip to content

Commit

Permalink
Merge pull request #114 from jflo/fewerDockers
Browse files Browse the repository at this point in the history
redundant loop
  • Loading branch information
jflo authored Apr 2, 2024
2 parents cfa6d9e + f911d10 commit 7b09751
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -863,25 +863,6 @@ task manifestDocker {

doLast {
for (baseTag in tags) {
//for (def variant in dockerVariants) {
//def variantImage = "${baseTag}-${variant}"
def targets = ""
archs.forEach { arch -> targets += "'${image}-${arch}' " }

exec {
def cmd = "docker manifest create '${image}' ${targets}"
println "Executing '${cmd}'"
executable shell
args "-c", cmd
}
exec {
def cmd = "docker manifest push '${image}'"
println "Executing '${cmd}'"
executable shell
args "-c", cmd
}
//}

exec {
targets = ""
archs.forEach { arch -> targets += "'${baseTag}-${arch}' " }
Expand Down

0 comments on commit 7b09751

Please sign in to comment.