A pull request changes a Linux Fargate task from X86_64 to ARM64. The image field stays exactly as it was, pinned to a SHA-256 digest. The x86 smoke test is green. Would you approve the change?
I would ask to see one piece of output first. If the x86 and Graviton services share an image reference, pin the digest of the manifest list that contains both architectures. An x86 smoke test can pass with either the list digest or the x86 image digest. The difference shows up when the Arm task needs an image of its own.
Which digest did the build give you?
You can try this during a code review using the Amazon Linux 2023 base image. You will need Bash, Docker Buildx, jq, and access to Amazon ECR Public. All the lookups below read registry metadata.
set -o pipefail
repo=public.ecr.aws/amazonlinux/amazonlinux
release_digest=$(docker buildx imagetools inspect "$repo:2023" \
--format '{{json .Manifest}}' | jq -er '.digest')
release_ref="$repo@$release_digest"
docker buildx imagetools inspect "$release_ref"
Look at the top-level Digest: and the two entries under Manifests:. Here is how they fit together in the November 19, 2026 run, with the hashes shortened for readability. The commands keep the full digests. Your hashes can change as AWS updates the 2023 tag.
amazonlinux:2023
└── sha256:3f018977be7a… manifest list
├── sha256:4ea82ab6042d… linux/amd64
└── sha256:7d86656c3ef6… linux/arm64/v8
Follow the branches as if you were the container runtime. Start at 3f018… on Graviton and there is an Arm entry to select. Start at 4ea82… and you have already arrived at the x86 image. That image has no reference back to the list or across to its Arm sibling. This is why two values copied from the same inspection can behave differently in a task definition. Amazon ECR multi-architecture images
Try the digest that passes the x86 smoke test
Take the x86 entry from the list. Then ask the registry for that image's own configuration. Run this in the same shell so release_ref still points to the release you just inspected.
x86_digest=$(docker buildx imagetools inspect --raw "$release_ref" |
jq -er '.manifests[]
| select(.platform.os == "linux" and .platform.architecture == "amd64")
| .digest')
docker buildx imagetools inspect "$repo@$x86_digest" \
--format '{{json .Image}}' | jq '{os, architecture}'
{
"os": "linux",
"architecture": "amd64"
}
That is a perfectly good digest for an x86-only service. The mistake would be passing it from the x86 test job to the deployment job as the digest for both services. A pipeline can make that mistake even when the build produced the Arm image correctly. Docker Buildx image inspection
What actually ran on Graviton?
On November 22, 2026, I tried the manifest-list digest from the tree above on two EC2 instances in Frankfurt. On each host I gave Docker the same digest and let it choose the platform. Inside each container I started a small Python HTTP server with a single /health endpoint. The running container's image ID matched the configuration digest from the corresponding child manifest in ECR.
| EC2 host |
uname -m inside the container |
Docker health | GET /health |
|---|---|---|---|
t4g.small (Graviton) |
aarch64 |
healthy |
HTTP 200, body ok
|
t3.small (x86) |
x86_64 |
healthy |
HTTP 200, body ok
|
Then I stayed on the Graviton host and deliberately selected the x86 child. I chose /bin/true because a successful run exits immediately with code 0.
docker pull --platform linux/amd64 "$repo@$x86_digest"
docker run --rm --network none --read-only --platform linux/amd64 "$repo@$x86_digest" /bin/true
The pull succeeded. The executable failed to start with exec format error, and Docker returned exit code 255. A CI job that only pulled the image would have passed. You may see a different result on a laptop with x86 emulation enabled. Docker multi-platform images and emulation
I ran this test with Docker on EC2. The Fargate task definition below shows how I would carry the same pin into ECS. A Fargate deployment still needs its own smoke test.
What goes in the ECS task definition?
For the Graviton service, these are the two fields I would review together. This fragment uses the Amazon Linux digest from the example so you can trace it back to the tree. In your service, substitute your application's manifest-list reference.
{
"runtimePlatform": {
"operatingSystemFamily": "LINUX",
"cpuArchitecture": "ARM64"
},
"containerDefinitions": [
{
"name": "app",
"image": "public.ecr.aws/amazonlinux/amazonlinux@sha256:3f018977be7a3473a0a473ed105b244b8bdec8683ecb24962f675db23017137b"
}
]
}
The x86 service can keep the same image and specify X86_64. That is also the Linux Fargate default when you omit the CPU architecture. If the task includes a log router or another sidecar, inspect its image too. Every container in that Arm task needs a compatible image. ECS Fargate task definition parameters
Catch the x86-only pin before deployment
I would put this check in the job that writes the task definition. Give it the exact reference the job is about to put in image. For a release shared by Linux x86 and Arm services, it should find both entries.
has_both_platforms() {
docker buildx imagetools inspect --raw "$1" |
jq -e '
[.manifests[]? | select(.platform.os == "linux") | .platform.architecture]
| (index("amd64") != null) and (index("arm64") != null)
'
}
Try it twice against the same release. The second call deliberately supplies the x86 child digest.
has_both_platforms "$release_ref" # true (exit 0)
has_both_platforms "$repo@$x86_digest" # false (exit 1)
Back to the pull request. A false result sends me back to the build output to find the parent digest and check whether the release includes Arm. A true result means the registry advertises both images. Pass that exact reference to deployment so a later tag update cannot change what you tested.
Before I approve that pull request, I also want to see the service answer its own health check on Graviton. An Arm image can still contain an x86 binary copied in during the build. The manifest check tells me the release lists an Arm image. Starting the service tells me whether the application inside it runs.

Top comments (1)
That line about the CI job passing on a pull alone is the scary part. Pulling proves nothing if the digest is the x86 child.