Skip to content

Refactor .github/workflows/_docker-image.yaml and related workflows #3191

@Matts966

Description

@Matts966

Is your feature request related to a problem? Please describe.:

  • We tried to separate amd64/arm64 builds to increase resources (arm64 often failed), but reverted all changes because it was too costly revert: Platform Separation #3192
  • To accomplish the issue, we need better ways
  • or, refactoring _docker-image.yaml can help

Describe the solution you'd like:

  • Separate _docker-image.yaml to build action with a platform argument and unification action

Possibly,

  • Use matrix build to summarize all image builds (making retry process easier)
  • Make image dependencies clear in the workflow, e.g. all images depend on the syft/buildkit images including themselves

For the original motivation (arm64 stable build),

Describe alternatives you've considered:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions