Skip to content

Parallelize Push Latest Images Job #312

@bupd

Description

@bupd

Summary

Currently, push-latest-images workflow job currently pushes images for all architectures sequentially in a single job. The "Publish and Sign Snapshot Image" step takes 1h 31m 19s to complete, making this one of
the slowest parts of our CI pipeline.

Image

Proposed Solution

Refactor the push-latest-images job to use a GitHub Actions matrix strategy, where each architecture is built and pushed in parallel. This is similar to how many projects handle multi-arch builds.

Example structure:

push-latest-images:
    strategy:
      matrix:
        arch: [amd64, arm64, arm/v7]
    runs-on: ubuntu-latest
    steps:
      - name: Publish and Sign Snapshot Image
        # Push for ${{ matrix.arch }} only

After individual architecture images are pushed, a final job (dependent on the matrix job) would create and push the manifest list combining all architectures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions