David Marchand <david.march...@redhat.com> writes: > Build DPDK with Fedora 35 containers. > > GHA container support does not allow caching images and docker hub > seems to limit image pulls. > On the other hand, the Fedora project hub does not seem to limit them, > so prefer this hub. > Nevertheless, let's try to be good citizens and cache (once a day) a > prepared image for subsequent builds. > This preparation is done in a first prepare-container-images job. > The rpm-container-builds job then depends on it with a 'needs:' tag. > > Differences with builds in Ubuntu GHA vm images: > - tasks are run as root in containers, no need for sudo, > - compiler must be explicitly installed, > - GHA artifacts can't contain a ':' in their name, and must be filtered, > - environment variables are not inherited and must be passed explicitly, > > Signed-off-by: David Marchand <david.march...@redhat.com> > --- > Changes since v2: > - used a two stage pipeline so that container image generation > is done only once, > - changed image name local:dpdk to dpdk-local (closer to conventions), > > Changes since v1: > - switched to Fedora project hub, > - cached container image, > > ---
This is fantastic! Acked-by: Aaron Conole <acon...@redhat.com>