Skip to content

Commit

Permalink
redundant loop
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Florentine <justin+github@florentine.us>
  • Loading branch information
jflo committed Apr 2, 2024
1 parent 750058b commit a360728
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 a360728

Please sign in to comment.