Skip to content

[wrangler] Accept linux/arm64 images in containers push and build - #17183

Merged
NuroDev merged 2 commits into
mainfrom
ganders/wrangler-accept-linux-arm64-images-in-containers-push-and-build
Nov 26, 2026
Merged

NuroDev merged 2 commits into
mainfrom
ganders/wrangler-accept-linux-arm64-images-in-containers-push-and-build

Conversation

@gpanders

@gpanders gpanders commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

wrangler containers push and wrangler containers build --platform rejected every image platform other than linux/amd64. We are rolling out arm64 support in the containers service, so these checks block arm64 images.

Allow linux/arm64 in addition to linux/amd64. The default build platform is still linux/amd64. The containers service also checks the image architecture when it pulls or prepares the image, so the Wrangler check is redundant, but it still gives an early error for other platforms.


  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: ARM64 is not publicly available yet (it requires an account capability). When it is, we'll create a docs PR and changelog entry.

Devin Review

`wrangler containers push` and `wrangler containers build --platform`
rejected every image platform other than linux/amd64. We are rolling
out arm64 support in the containers service, so these checks block
arm64 images.

Allow linux/arm64 in addition to linux/amd64. The default build
platform is still linux/amd64. The containers service also checks the
image architecture when it pulls or prepares the image, so the Wrangler
check is redundant, but it still gives an early error for other
platforms.
@changeset-bot

changeset-bot Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 8f5c69c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@cloudflare/containers-shared Minor
wrangler Minor
@cloudflare/deploy-helpers Patch
@cloudflare/dev-helpers Patch
@cloudflare/remote-bindings Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-project-automation github-project-automation Bot moved this to Untriaged in workers-sdk Nov 25, 2026
@workers-devprod
workers-devprod requested review from a team and NuroDev and removed request for a team November 25, 2026 22:26
@workers-devprod

workers-devprod commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • ✅ @cloudflare/cloudchamber
  • ✅ @cloudflare/wrangler
Show detailed file reviewers

@ask-bonk

ask-bonk Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

LGTM!

github run

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 2 potential issues.

Devin Review

Comment thread .changeset/containers-linux-arm64.md Resolved
Comment thread packages/containers-shared/src/build.ts Resolved

@clanky-the-clanker clanky-the-clanker Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Superseded by the review of 8f5c69c8.

This review, of 7c21a1e4

✅ Approved — A small, well-tested change that adds linux/arm64 to the platform allowlist. No issues found.

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


✅ All checks passed

🔒 Security: ✅ LGTM

The platform allowlist is still an exact-match check, and every other platform string is still rejected. The change adds no new input path, injection sink or authorization change.


📋 Code Quality: ✅ LGTM

buildCommand and checkImagePlatform now both check against one SUPPORTED_PLATFORMS list. The unused expectedPlatform parameter is removed. The remaining linux/amd64 uses elsewhere are default values, so they are correct as they are. The new tests cover an arm64 build, an arm64 push, and rejection of an unsupported platform on both paths.


📝 Documentation: ✅ LGTM

The changeset is included. The pull request description explains why there is no public docs change yet: arm64 support requires an account capability.


Reviewed commit: 7c21a1e4

@pkg-pr-new

pkg-pr-new Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
@cloudflare/autoconfig

npm i https://pkg.pr.new/@cloudflare/autoconfig@17183

@cloudflare/build-output-utils

npm i https://pkg.pr.new/@cloudflare/build-output-utils@17183

@cloudflare/codemods

npm i https://pkg.pr.new/@cloudflare/codemods@17183

@cloudflare/config

npm i https://pkg.pr.new/@cloudflare/config@17183

@cloudflare/containers-shared

npm i https://pkg.pr.new/@cloudflare/containers-shared@17183

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@17183

@cloudflare/deploy-helpers

npm i https://pkg.pr.new/@cloudflare/deploy-helpers@17183

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@17183

miniflare

npm i https://pkg.pr.new/miniflare@17183

@cloudflare/pages-functions

npm i https://pkg.pr.new/@cloudflare/pages-functions@17183

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@17183

@cloudflare/runtime-types

npm i https://pkg.pr.new/@cloudflare/runtime-types@17183

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@17183

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@17183

@cloudflare/vitest-plugin

npm i https://pkg.pr.new/@cloudflare/vitest-plugin@17183

@cloudflare/workers-auth

npm i https://pkg.pr.new/@cloudflare/workers-auth@17183

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@17183

@cloudflare/workers-utils

npm i https://pkg.pr.new/@cloudflare/workers-utils@17183

wrangler

npm i https://pkg.pr.new/wrangler@17183

commit: 8f5c69c

Comment thread .changeset/containers-linux-arm64.md Resolved
Comment thread packages/containers-shared/src/build.ts Resolved
@github-project-automation github-project-automation Bot moved this from Untriaged to In Review in workers-sdk Nov 25, 2026
Accepting a new image platform is new functionality, so it is a minor
change under the changeset rules.

@clanky-the-clanker clanky-the-clanker Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Approved — This is a small, well-tested change that adds linux/arm64 to the image platform allowlist, and the changeset is now a minor bump. No issues found.

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


✅ All checks passed

🔒 Security: ✅ LGTM

The platform allowlist is still an exact-match check, so any platform string outside the list is rejected. The change adds no new input path or authorization change.


📋 Code Quality: ✅ LGTM

buildCommand and checkImagePlatform both check against one SUPPORTED_PLATFORMS list, and the unused expectedPlatform parameter is removed. The tests cover an arm64 build, an arm64 push, and rejection of an unsupported platform on both paths. The changeset is now a minor bump, which fits a new feature.


📝 Documentation: ✅ LGTM

The changeset is accurate and is now a minor bump. The pull request description explains why public docs are deferred.


Reviewed commit: 8f5c69c8

@NuroDev
NuroDev enabled auto-merge (squash) November 26, 2026 13:50

@workers-devprod workers-devprod left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codeowners reviews satisfied

@github-project-automation github-project-automation Bot moved this from In Review to Approved in workers-sdk Nov 26, 2026
@NuroDev
NuroDev merged commit ebc7b50 into main Nov 26, 2026
96 of 97 checks passed
@NuroDev
NuroDev deleted the ganders/wrangler-accept-linux-arm64-images-in-containers-push-and-build branch November 26, 2026 13:59
@github-project-automation github-project-automation Bot moved this from Approved to Done in workers-sdk Nov 26, 2026
brandhaug added a commit to brandhaug/b2b-saas-starter that referenced this pull request Nov 30, 2026
## pnpm-workspace.yaml (default)

## Dependency Updates

| Package | From | To | Type |
| --- | --- | --- | --- |
| `@cloudflare/vitest-plugin` | 1.9.2 | 1.10.0 | minor |
| `@cloudflare/workers-types` | 5.20261125.1 | 5.20261127.1 | minor |
| `miniflare` | 5.20261123.1-beta | 5.20261127.0-beta | minor |
| `wrangler` | 4.168.0 | 4.169.0 | minor |

## Release Notes

<details>
<summary><b>@<!---->cloudflare/vitest-plugin</b> (1.9.2 →
1.10.0)</summary>

### Minor Changes

- [#17161](cloudflare/workers-sdk#17161)
[`e46c7c6`](cloudflare/workers-sdk@e46c7c6)
Thanks [@<!---->thisisamank](https://github.com/thisisamank)! - Add
RealtimeKit bindings

Bind an existing RealtimeKit app to a Worker in your Wrangler
configuration file:

  ```jsonc
  {
    "realtimekit": [
      {
        "binding": "RTK",
        "app_id": "<APP_ID>",
        "remote": true
      }
    ]
  }
  ```

RealtimeKit has no local simulator, so set `remote: true` to use the
real app during local development. Calls during development, including
calls on returned meetings, go through the existing remote bindings
proxy. The experimental configuration API supports
`bindings.realtimeKit({ id: "<APP_ID>", dev: { remote: true } })`, and
the `wrangler-to-cf` codemod converts `realtimekit` entries. Deployments
upload only the binding name and `app_id`. `wrangler types` generates
`RealtimeKitBinding` for these bindings.

### Patch Changes

- [#17203](cloudflare/workers-sdk#17203)
[`41bacf7`](cloudflare/workers-sdk@41bacf7)
Thanks [@<!---->jamesopstad](https://github.com/jamesopstad)! - Accept
`fedramp-high` in `CLOUDFLARE_COMPLIANCE_REGION`

`cloudflare.config.ts` writes the FedRAMP High region as `fedramp-high`,
but `CLOUDFLARE_COMPLIANCE_REGION` only accepted `fedramp_high` and
rejected the other spelling with `Expected "fedramp-high" to be one of
["public","fedramp_high"]`. Both spellings are now accepted and mean the
same region, so a value copied from `cloudflare.config.ts` into
`CLOUDFLARE_COMPLIANCE_REGION` works.

- [#17140](cloudflare/workers-sdk#17140)
[`b645124`](cloudflare/workers-sdk@b645124)
Thanks [@<!---->dependabot](https://github.com/apps/dependabot)! -
Update `DEFAULT_COMPAT_DATE` to 2026-11-24

  Use the bundled

…[full
notes](https://github.com/cloudflare/workers-sdk/releases/tag/%40cloudflare/vitest-plugin%401.10.0)

</details>

<details>
<summary><b>miniflare</b> (5.20261123.1-beta →
5.20261127.0-beta)</summary>

### Minor Changes

- [#17161](cloudflare/workers-sdk#17161)
[`e46c7c6`](cloudflare/workers-sdk@e46c7c6)
Thanks [@<!---->thisisamank](https://github.com/thisisamank)! - Add
RealtimeKit bindings

Bind an existing RealtimeKit app to a Worker in your Wrangler
configuration file:

  ```jsonc
  {
    "realtimekit": [
      {
        "binding": "RTK",
        "app_id": "<APP_ID>",
        "remote": true
      }
    ]
  }
  ```

RealtimeKit has no local simulator, so set `remote: true` to use the
real app during local development. Calls during development, including
calls on returned meetings, go through the existing remote bindings
proxy. The experimental configuration API supports
`bindings.realtimeKit({ id: "<APP_ID>", dev: { remote: true } })`, and
the `wrangler-to-cf` codemod converts `realtimekit` entries. Deployments
upload only the binding name and `app_id`. `wrangler types` generates
`RealtimeKitBinding` for these bindings.

### Patch Changes

- [#17182](cloudflare/workers-sdk#17182)
[`07d2051`](cloudflare/workers-sdk@07d2051)
Thanks [@<!---->danlapid](https://github.com/danlapid)! - Fix local
Artifacts sometimes failing to start with `ERR_ADDRESS_IN_USE`

Miniflare chose a free port for an Artifacts namespace's Git remote,
released it, and had workerd bind it later, so another process could
take the port in between. Miniflare now keeps listening on the Git port
itself and forwards connections to workerd. Existing clones keep
working: a namespace's Git remote still uses the port it had last time
while that port is free, and now also keeps it across configuration
reloads.

- [#17140](cloudflare/workers-sdk#17140)
[`b645124`](cloudflare/workers-sdk@b645124)
Thanks [@<!---->dependabot](https://github.com/apps/dependabot)! -
Update `DEFAUL

…[full
notes](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261127.0-beta)

</details>

<details>
<summary><b>wrangler</b> (4.168.0 → 4.169.0)</summary>

### Minor Changes

- [#17183](cloudflare/workers-sdk#17183)
[`ebc7b50`](cloudflare/workers-sdk@ebc7b50)
Thanks [@<!---->gpanders](https://github.com/gpanders)! - Accept
`linux/arm64` images in `wrangler containers push` and `wrangler
containers build`

`wrangler containers push` now accepts local images built for
`linux/amd64` or `linux/arm64`. `wrangler containers build --platform`
accepts the same two platforms. The default platform is still
`linux/amd64`.

- [#17088](cloudflare/workers-sdk#17088)
[`43da328`](cloudflare/workers-sdk@43da328)
Thanks [@<!---->efalcao](https://github.com/efalcao)! - Add the
`oidc_tokens` binding

An OIDC token binding issues short-lived OpenID Connect tokens for the
Worker's own identity, for one audience. Exchange them for cloud
credentials, or send them to an API as a bearer token, instead of
storing long-lived credentials as secrets:

  ```jsonc
"oidc_tokens": [{ "binding": "API_TOKEN", "audience":
"https://api.example.com" }]
  ```

`env.API_TOKEN.getToken()` returns a newly signed JWT. Set `"alg":
"RS256"` for verifiers that don't accept the default, ES256. Wrangler
validates the audience (1 to 2048 printable ASCII characters, no
whitespace), uploads the binding, generates its `OidcTokenBinding` type,
and prints it in the bindings table. After a deploy, `wrangler deploy`
prints the issuer and subject to put in the verifier's trust policy. The
subject contains the Worker's immutable ID, which the deploy output
doesn't otherwise show. The binding isn't available in local development
yet. Accounts must be enabled for the binding before they can deploy it.

- [#17161](cloudflare/workers-sdk#17161)
[`e46c7c6`](cloudflare/workers-sdk@e46c7c6)
Thanks [@<!---->thisisamank](https://github.com/thisisamank)!

…[full
notes](https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.169.0)

</details>

---
*This PR was auto-generated by
[catalog-update-action](https://github.com/brandhaug/catalog-update-action).*

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants