Skip to content

Commit dd0421e

Browse files
committed
Make sure we build docker context on supported platforms
1 parent 7b3bdbe commit dd0421e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distribution/docker/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ void addBuildDockerContextTask(Architecture architecture, DockerBase base) {
230230
}
231231
}
232232

233-
onlyIf { Architecture.current() == architecture }
233+
onlyIf { isArchitectureSupported(architecture) }
234234
}
235235

236236
if (base == DockerBase.IRON_BANK) {

0 commit comments

Comments
 (0)