Create GH action workflow to merge per-arch images into multi-arch tags #19689
Labels
area/ci/multi-arch
Issues and PRs related to the release of images targeting architectures other than amd64
area/ci
CI build and releases, PR testing, & whitelabel/productization issues
kind/task
Internal things, technical debt, and to-do tasks to be performed.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
severity/P3
Lower priority than a P2. Optional work that might get done, or not. See also help wanted issues.
Is your task related to a problem? Please describe.
Today, some che images are built multi-arch style w/ qemu + buildx, but this doesn't scale for larger builds like che-theia.
So, in #19688 it's been suggested we build on s390x and ppc64le using travis community hardware.
But then we need to merge these single-arch images into the multi-arch tags that Che operator and registries expect to see when deploying Che and launching workspaces.
Describe the solution you'd like
Therefore we need a GH action that can be triggered when a new Travis build is done, and will append that new image into the shared multi-arch tag.
eg., when
:7.32.0-s390x
is published, the:7.32.0
tag can be updated withdocker manifest --amend
to add the new images-- https://github.com/eclipse-che/che-dashboard/blob/main/.github/workflows/ci-multiarch.yaml#L62-L71
One caveat to verify: must confirm that something like
CACHE_IMAGE_FULL: docker.io/cheincubator/che-dashboard:cache
will work for collecting images into a single manifest, eg., https://github.com/eclipse-che/che-dashboard/blob/main/.github/workflows/ci-multiarch.yaml#L62-L71 ... even if they're built w/ different pipelines.Or do we need a travis cache image and a separate GH action cache? Or none of these, since we're moving to single-arch publishes and a downstream manifest-amender process?
The text was updated successfully, but these errors were encountered: