Skip to content

Add the ability to specify --build-platform #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 27, 2023
Merged

Conversation

jacobwgillespie
Copy link
Member

@jacobwgillespie jacobwgillespie commented Jan 27, 2023

Allows forcing builds to run on Intel or Arm builders, regardless of the requested container platform, by specifying either --build-platform flag or the DEPOT_BUILD_PLATFORM environment variable. The valid build platform values are:

  • dynamic - run on Intel or Arm builders depending on container platform, or both in the case of multi-platform builds (this is the default)
  • linux/amd64 - run only on Intel builders
  • linux/arm64 - run only on Arm builders

@jacobwgillespie jacobwgillespie merged commit 2328906 into main Jan 27, 2023
@jacobwgillespie jacobwgillespie deleted the build-platform branch January 27, 2023 17:52
mnapoli added a commit to brefphp/aws-lambda-layers that referenced this pull request Jan 28, 2023
phoenix933 pushed a commit to phoenix933/aws-lambda-layers that referenced this pull request Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant