Skip to content

enhancement: produce more useful names in build-matrix #343

Open

Description

@thaJeztah

Description

Opening as a quick write-up; I didn't dig deep yet, and may even be in the wrong repository 😂

Looking at the packaging repository; for example on this PR docker/packaging#577

workflow; https://github.com/docker/packaging/actions/runs/43001873392/job/130460054549?pr=577

The checks matrix produces builds like;

run / build (almalinux10) / build (almalinux10, 0, linux/amd64, ubuntu-26.04)
run / build (almalinux10) / build (almalinux10, 1, linux/arm64, ubuntu-26.04-arm)

Given that the other parameters already seem to produce a unique combination, I wondered where the 0 and 1 came from, as they're not very informative.

Some initial searching .. I suspect this may be the part to look at?

build:
runs-on: ${{ matrix.runner }}
needs:
- registry-identities
- prepare
env:
DOCKER_BUILD_SUMMARY: false
REGISTRY_AUTHS_PRESENT: ${{ secrets.registry-auths != '' }}
strategy:
fail-fast: ${{ inputs.fail-fast }}
matrix:
include: ${{ fromJson(needs.prepare.outputs.includes) }}

Can we remove the numeric index somehow from the name to produce a more logical name for the check (perhaps a custom name: attribute if the fields in the matrix are predictable and not expected to change?)

Activity

  1. thaJeztah commented on Nov 11, 2026

    @thaJeztah
    MemberAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions