Skip to content

github/ci: Verify the arm64 distroless images too - #49306

Merged
phlax merged 1 commit into
envoyproxy:mainfrom
phlax:verify-distroless-arm64
Nov 16, 2026
Merged

phlax merged 1 commit into
envoyproxy:mainfrom
phlax:verify-distroless-arm64

Conversation

@phlax

@phlax phlax commented Nov 15, 2026

Copy link
Copy Markdown
Member

Commit Message: github/ci: Verify the arm64 distroless images too
Additional Description:

verify-distroless checked only the x64 distroless images (oci.x64). It now runs for arm64 too:

  • distroless_arm64: the arm64 images (oci.arm64), on the arm64 runner (vars.ENVOY_ARM_VM, as the other arm64 jobs).
  • skopeo_copy (docker_utils.sh) takes the images' arch (default amd64, so the examples job is unchanged).
  • skopeo is installed where the runner image does not have it.

ci/Dockerfile-distroless-testing's base (debian:trixie-slim) is pinned to a multi-arch index, so the test image builds natively on arm64.

Risk Level: low (verification only)
Testing: CI, envoy-ci-staging
Docs Changes: n/a
Release Notes: n/a

Copilot AI 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.

🟡 Changes recommended

Both architecture jobs upload the same report artifact name, causing the second upload to fail and breaking verification even when its checks pass.

1 open issue
What changed in this PR

Extends distroless image verification to arm64 alongside x64, using architecture-specific artifacts and a native arm64 runner.

Changes:

  • Adds an arm64 verification matrix entry and shares setup across architectures.
  • Installs skopeo when it is missing from the runner.
  • Makes skopeo_copy architecture-aware while retaining amd64 as the default.
File Description
.github/​workflows/​docker_utils.sh Adds an optional architecture argument for loading image archives.
.github/​workflows/​_publish_verify.yml Adds native arm64 verification and shared image-loading setup.

Review effort: Balanced

Comment thread .github/workflows/_publish_verify.yml Resolved
@phlax
phlax force-pushed the verify-distroless-arm64 branch from 6498219 to 65d4119 Compare November 15, 2026 20:50
@phlax
phlax requested a balanced review from Copilot November 15, 2026 20:50

Copilot AI 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.

🟢 Approval recommended

No active review issues are reported for the arm64 image verification changes.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

@phlax phlax changed the title github/ci: Verify the arm64 distroless images too [WIP] github/ci: Verify the arm64 distroless images too Nov 16, 2026
@phlax
phlax marked this pull request as draft November 16, 2026 08:50
@phlax
phlax force-pushed the verify-distroless-arm64 branch from 65d4119 to 574abb8 Compare November 16, 2026 14:18
@phlax phlax changed the title [WIP] github/ci: Verify the arm64 distroless images too github/ci: Verify the arm64 distroless images too Nov 16, 2026
@phlax
phlax marked this pull request as ready for review November 16, 2026 14:54
`verify-distroless` checked only the x64 distroless images. It now runs
for arm64 too (`distroless_arm64`), on the arm64 runner, with the arm64
images (`oci.arm64`).

Each arch has its own report (`target-suffix`). The job loads the images
of its arch (`<name>.<arch>.tar`, as every branch's
`distribution/docker/build.sh` names them) itself rather than with
`docker_utils.sh`'s `skopeo_copy`: the workflows run from main for every
branch, but `docker_utils.sh` comes from the branch under test, and a
release branch's loads only the amd64 images. skopeo is installed where
the runner image does not have it.

Signed-off-by: Ryan Northey <[email protected]>
@phlax
phlax force-pushed the verify-distroless-arm64 branch from 9327e63 to 65c11ea Compare November 16, 2026 15:33
@phlax
phlax merged commit 60388a6 into envoyproxy:main Nov 16, 2026
26 checks passed
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
`verify-distroless` checked only the x64 distroless images (`oci.x64`).
It now runs for arm64 too:

- `distroless_arm64`: the arm64 images (`oci.arm64`), on the arm64
runner (`vars.ENVOY_ARM_VM`, as the other arm64 jobs).
- `skopeo_copy` (`docker_utils.sh`) takes the images' arch (default
`amd64`, so the examples job is unchanged).
- skopeo is installed where the runner image does not have it.

`ci/Dockerfile-distroless-testing`'s base (`debian:trixie-slim`) is
pinned to a multi-arch index, so the test image builds natively on
arm64.

Signed-off-by: Ryan Northey <[email protected]>

Backport note: the moved `actions/jq` step keeps this branch's toolshed
actions-v0.4.29 pin.

(cherry picked from commit 60388a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
`verify-distroless` checked only the x64 distroless images (`oci.x64`).
It now runs for arm64 too:

- `distroless_arm64`: the arm64 images (`oci.arm64`), on the arm64
runner (`vars.ENVOY_ARM_VM`, as the other arm64 jobs).
- `skopeo_copy` (`docker_utils.sh`) takes the images' arch (default
`amd64`, so the examples job is unchanged).
- skopeo is installed where the runner image does not have it.

`ci/Dockerfile-distroless-testing`'s base (`debian:trixie-slim`) is
pinned to a multi-arch index, so the test image builds natively on
arm64.

Signed-off-by: Ryan Northey <[email protected]>

Backport note: the moved `actions/jq` step keeps this branch's toolshed
actions-v0.4.17 pin.

(cherry picked from commit 60388a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
`verify-distroless` checked only the x64 distroless images (`oci.x64`).
It now runs for arm64 too:

- `distroless_arm64`: the arm64 images (`oci.arm64`), on the arm64
runner (`vars.ENVOY_ARM_VM`, as the other arm64 jobs).
- `skopeo_copy` (`docker_utils.sh`) takes the images' arch (default
`amd64`, so the examples job is unchanged).
- skopeo is installed where the runner image does not have it.

`ci/Dockerfile-distroless-testing`'s base (`debian:trixie-slim`) is
pinned to a multi-arch index, so the test image builds natively on
arm64.

Signed-off-by: Ryan Northey <[email protected]>

Backport note: the moved `actions/jq` step keeps this branch's toolshed
actions-v0.4.29 pin.

(cherry picked from commit 60388a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
`verify-distroless` checked only the x64 distroless images (`oci.x64`).
It now runs for arm64 too:

- `distroless_arm64`: the arm64 images (`oci.arm64`), on the arm64
runner (`vars.ENVOY_ARM_VM`, as the other arm64 jobs).
- `skopeo_copy` (`docker_utils.sh`) takes the images' arch (default
`amd64`, so the examples job is unchanged).
- skopeo is installed where the runner image does not have it.

`ci/Dockerfile-distroless-testing`'s base (`debian:trixie-slim`) is
pinned to a multi-arch index, so the test image builds natively on
arm64.

Signed-off-by: Ryan Northey <[email protected]>

Backport note: the moved `actions/jq` step keeps this branch's toolshed
actions-v0.4.17 pin.

(cherry picked from commit 60388a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
`verify-distroless` checked only the x64 distroless images (`oci.x64`).
It now runs for arm64 too:

- `distroless_arm64`: the arm64 images (`oci.arm64`), on the arm64
runner (`vars.ENVOY_ARM_VM`, as the other arm64 jobs).
- `skopeo_copy` (`docker_utils.sh`) takes the images' arch (default
`amd64`, so the examples job is unchanged).
- skopeo is installed where the runner image does not have it.

`ci/Dockerfile-distroless-testing`'s base (`debian:trixie-slim`) is
pinned to a multi-arch index, so the test image builds natively on
arm64.

Signed-off-by: Ryan Northey <[email protected]>

Backport note: the moved `actions/jq` step keeps this branch's toolshed
actions-v0.4.29 pin.

(cherry picked from commit 60388a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
`verify-distroless` checked only the x64 distroless images (`oci.x64`).
It now runs for arm64 too:

- `distroless_arm64`: the arm64 images (`oci.arm64`), on the arm64
runner (`vars.ENVOY_ARM_VM`, as the other arm64 jobs).
- `skopeo_copy` (`docker_utils.sh`) takes the images' arch (default
`amd64`, so the examples job is unchanged).
- skopeo is installed where the runner image does not have it.

`ci/Dockerfile-distroless-testing`'s base (`debian:trixie-slim`) is
pinned to a multi-arch index, so the test image builds natively on
arm64.

Signed-off-by: Ryan Northey <[email protected]>

Backport note: the moved `actions/jq` step keeps this branch's toolshed
actions-v0.4.17 pin.

(cherry picked from commit 60388a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
`verify-distroless` checked only the x64 distroless images (`oci.x64`).
It now runs for arm64 too:

- `distroless_arm64`: the arm64 images (`oci.arm64`), on the arm64
runner (`vars.ENVOY_ARM_VM`, as the other arm64 jobs).
- `skopeo_copy` (`docker_utils.sh`) takes the images' arch (default
`amd64`, so the examples job is unchanged).
- skopeo is installed where the runner image does not have it.

`ci/Dockerfile-distroless-testing`'s base (`debian:trixie-slim`) is
pinned to a multi-arch index, so the test image builds natively on
arm64.

Signed-off-by: Ryan Northey <[email protected]>

Backport note: the moved `actions/jq` step keeps this branch's toolshed pin
(v0.4.6 on release/v1.38).

(cherry picked from commit 60388a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
`verify-distroless` checked only the x64 distroless images (`oci.x64`).
It now runs for arm64 too:

- `distroless_arm64`: the arm64 images (`oci.arm64`), on the arm64
runner (`vars.ENVOY_ARM_VM`, as the other arm64 jobs).
- `skopeo_copy` (`docker_utils.sh`) takes the images' arch (default
`amd64`, so the examples job is unchanged).
- skopeo is installed where the runner image does not have it.

`ci/Dockerfile-distroless-testing`'s base (`debian:trixie-slim`) is
pinned to a multi-arch index, so the test image builds natively on
arm64.

Signed-off-by: Ryan Northey <[email protected]>

Backport note: the moved `actions/jq` step keeps this branch's toolshed pin
(v0.4.6 on release/v1.38, v0.4.1 on release/v1.37).

(cherry picked from commit 60388a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
`verify-distroless` checked only the x64 distroless images (`oci.x64`).
It now runs for arm64 too:

- `distroless_arm64`: the arm64 images (`oci.arm64`), on the arm64
runner (`vars.ENVOY_ARM_VM`, as the other arm64 jobs).
- `skopeo_copy` (`docker_utils.sh`) takes the images' arch (default
`amd64`, so the examples job is unchanged).
- skopeo is installed where the runner image does not have it.

`ci/Dockerfile-distroless-testing`'s base (`debian:trixie-slim`) is
pinned to a multi-arch index, so the test image builds natively on
arm64.

Signed-off-by: Ryan Northey <[email protected]>

Backport note: the moved `actions/jq` step keeps this branch's toolshed pin
(v0.4.6 on release/v1.38, v0.4.1 on release/v1.37).

(cherry picked from commit 60388a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 17, 2026
`verify-distroless` checked only the x64 distroless images (`oci.x64`).
It now runs for arm64 too:

- `distroless_arm64`: the arm64 images (`oci.arm64`), on the arm64
runner (`vars.ENVOY_ARM_VM`, as the other arm64 jobs).
- `skopeo_copy` (`docker_utils.sh`) takes the images' arch (default
`amd64`, so the examples job is unchanged).
- skopeo is installed where the runner image does not have it.

`ci/Dockerfile-distroless-testing`'s base (`debian:trixie-slim`) is
pinned to a multi-arch index, so the test image builds natively on
arm64.

Signed-off-by: Ryan Northey <[email protected]>

Backport note: the moved `actions/jq` step keeps this branch's toolshed
actions-v0.4.29 pin.

(cherry picked from commit 60388a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
`verify-distroless` checked only the x64 distroless images (`oci.x64`).
It now runs for arm64 too:

- `distroless_arm64`: the arm64 images (`oci.arm64`), on the arm64
runner (`vars.ENVOY_ARM_VM`, as the other arm64 jobs).
- `skopeo_copy` (`docker_utils.sh`) takes the images' arch (default
`amd64`, so the examples job is unchanged).
- skopeo is installed where the runner image does not have it.

`ci/Dockerfile-distroless-testing`'s base (`debian:trixie-slim`) is
pinned to a multi-arch index, so the test image builds natively on
arm64.

Signed-off-by: Ryan Northey <[email protected]>

Backport note: the moved `actions/jq` step keeps this branch's toolshed
actions-v0.4.17 pin.

(cherry picked from commit 60388a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
`verify-distroless` checked only the x64 distroless images (`oci.x64`).
It now runs for arm64 too:

- `distroless_arm64`: the arm64 images (`oci.arm64`), on the arm64
runner (`vars.ENVOY_ARM_VM`, as the other arm64 jobs).
- `skopeo_copy` (`docker_utils.sh`) takes the images' arch (default
`amd64`, so the examples job is unchanged).
- skopeo is installed where the runner image does not have it.

`ci/Dockerfile-distroless-testing`'s base (`debian:trixie-slim`) is
pinned to a multi-arch index, so the test image builds natively on
arm64.

Signed-off-by: Ryan Northey <[email protected]>

Backport note: the moved `actions/jq` step keeps this branch's toolshed pin
(v0.4.6 on release/v1.38).

(cherry picked from commit 60388a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
`verify-distroless` checked only the x64 distroless images (`oci.x64`).
It now runs for arm64 too:

- `distroless_arm64`: the arm64 images (`oci.arm64`), on the arm64
runner (`vars.ENVOY_ARM_VM`, as the other arm64 jobs).
- `skopeo_copy` (`docker_utils.sh`) takes the images' arch (default
`amd64`, so the examples job is unchanged).
- skopeo is installed where the runner image does not have it.

`ci/Dockerfile-distroless-testing`'s base (`debian:trixie-slim`) is
pinned to a multi-arch index, so the test image builds natively on
arm64.

Signed-off-by: Ryan Northey <[email protected]>

Backport note: the moved `actions/jq` step keeps this branch's toolshed pin
(v0.4.6 on release/v1.38, v0.4.1 on release/v1.37).

(cherry picked from commit 60388a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 17, 2026
`verify-distroless` checked only the x64 distroless images (`oci.x64`).
It now runs for arm64 too:

- `distroless_arm64`: the arm64 images (`oci.arm64`), on the arm64
runner (`vars.ENVOY_ARM_VM`, as the other arm64 jobs).
- `skopeo_copy` (`docker_utils.sh`) takes the images' arch (default
`amd64`, so the examples job is unchanged).
- skopeo is installed where the runner image does not have it.

`ci/Dockerfile-distroless-testing`'s base (`debian:trixie-slim`) is
pinned to a multi-arch index, so the test image builds natively on
arm64.

Signed-off-by: Ryan Northey <[email protected]>

Backport note: the moved `actions/jq` step keeps this branch's toolshed pin
(v0.4.6 on release/v1.38).

(cherry picked from commit 60388a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
`verify-distroless` checked only the x64 distroless images (`oci.x64`).
It now runs for arm64 too:

- `distroless_arm64`: the arm64 images (`oci.arm64`), on the arm64
runner (`vars.ENVOY_ARM_VM`, as the other arm64 jobs).
- `skopeo_copy` (`docker_utils.sh`) takes the images' arch (default
`amd64`, so the examples job is unchanged).
- skopeo is installed where the runner image does not have it.

`ci/Dockerfile-distroless-testing`'s base (`debian:trixie-slim`) is
pinned to a multi-arch index, so the test image builds natively on
arm64.

Signed-off-by: Ryan Northey <[email protected]>

Backport note: the moved `actions/jq` step keeps this branch's toolshed pin
(v0.4.6 on release/v1.38, v0.4.1 on release/v1.37).

(cherry picked from commit 60388a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 18, 2026
`verify-distroless` checked only the x64 distroless images (`oci.x64`).
It now runs for arm64 too:

- `distroless_arm64`: the arm64 images (`oci.arm64`), on the arm64
runner (`vars.ENVOY_ARM_VM`, as the other arm64 jobs).
- `skopeo_copy` (`docker_utils.sh`) takes the images' arch (default
`amd64`, so the examples job is unchanged).
- skopeo is installed where the runner image does not have it.

`ci/Dockerfile-distroless-testing`'s base (`debian:trixie-slim`) is
pinned to a multi-arch index, so the test image builds natively on
arm64.

Signed-off-by: Ryan Northey <[email protected]>

Backport note: the moved `actions/jq` step keeps this branch's toolshed pin
(v0.4.6 on release/v1.38, v0.4.1 on release/v1.37).

(cherry picked from commit 60388a6)
Signed-off-by: Ryan Northey <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants