Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/commands/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ func (c *Build) parseContainerfile() (*dockerfile.Dockerfile, error) {
func (c *Build) createBuildArgExpander() (dockerfile.SingleWordExpander, error) {
// Define built-in ARG variables
// See https://docs.docker.com/build/building/variables/#multi-platform-build-arguments
platform := platforms.DefaultSpec()
platform := platforms.Normalize(platforms.DefaultSpec())
args := map[string]string{
// We current don't explicitly expose the --platform flag, so the TARGET* values always
// match the BUILD* values. If we add --platform handling, we would want to respect it here.
Expand Down