Skip to content

Commit

Permalink
Fix archs
Browse files Browse the repository at this point in the history
  • Loading branch information
DonRobo committed Jul 13, 2024
1 parent 67c8745 commit e5fe1f3
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions web/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,21 @@ ktor {
}
}

val archs = listOf(
"armhf",
"aarch64",
"i386",
"amd64"
)

jib {
from {
platforms {
platform {
os = "linux"
architecture = "amd64"
}
platform {
os = "linux"
architecture = "arm64"
archs.forEach { arch ->
platform {
os = "linux"
architecture = arch
}
}
}
}
Expand All @@ -60,7 +65,7 @@ jib {
"io.hass.name" to "home-former",
"io.hass.version" to "0.1.0",
"io.hass.type" to "addon",
"io.hass.arch" to "armhf|amd64",
"io.hass.arch" to archs.joinToString("|"),
)
)
}
Expand Down

0 comments on commit e5fe1f3

Please sign in to comment.