Feature or enhancement request details
We should add the current target platform we're building and use it to set automatic platform ARGs:
// Build platform ARGs.
args["BUILDPLATFORM"] = buildPlatform.description
args["BUILDOS"] = buildPlatform.os
args["BUILDARCH"] = buildPlatform.architecture
args["BUILDVARIANT"] = buildPlatform.variant ?? ""
// Target platform ARGs.
args["TARGETPLATFORM"] = targetPlatform.description
args["TARGETOS"] = targetPlatform.os
args["TARGETARCH"] = targetPlatform.architecture
args["TARGETVARIANT"] = targetPlatform.variant ?? ""
Code of Conduct