feat(docker-build-push-multiarch): allow github hosted runner usage #1456
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request updates the configuration for the multi-architecture Docker build workflow to provide more flexible and explicit control over runner types. The previous
server-sizeinput has been replaced by new runner type inputs, allowing users to specify instance types for x64, arm64, and manifest builds, with sensible defaults based on the chosen runner environment (self-hostedorgithub). Several variable names have been standardized, and job definitions have been updated to use the new runner type outputs.Runner configuration enhancements:
runner-type,runner-type-x64,runner-type-arm64, andrunner-type-manifestto allow explicit control over the instance types used for each build architecture. Therunner-typeinput sets the default environment, with overrides available for each architecture. [1] [2]prepare-matrixjob to determine and export the correct runner types for x64, arm64, and manifest builds, using either user-provided values or sensible defaults based on therunner-typeinput.Variable and output standardization:
runner_archestorunner-archesfor consistency. [1] [2]Job runner updates:
prepare-matrix,build-and-push, andmerge-digestjobs to use the new runner type outputs, ensuring that each job runs on the appropriate instance type for its architecture. [1] [2] [3]A successful run of this can be seen here: https://github.com/grafana/wait-for-github/actions/runs/18846461222/job/53771699421?pr=386