Github actions runner-images install buildah from the distro. 22.04
has an ancient version and is known not to work.
Bump to the latest 24.04 runners and at the same time, drop the
BUILDAH_RUNTIME override.
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Github crypto-perf/opae-nlb-demo image builds using buildah started
failing without a reason. While we could continue to debug the root
cause, let's admit the version is so old and a reasonable configuration
exists that makes the error go away: using BUILDAH_RUNTIME=runc just
like we use for the plugin images seems sufficient.
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
The SRCREV tag becomes a RepoTag we end up having those tags in the
registry too.
To keep the registry clean, drop SRCREV tags.
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
In preparations to get some of the images to hub.docker.com/intel,
start using intel/ prefix.
Moreover, set the Makefile variables so that the images built
by make [images|demos] can easily be pushed to any registry/org
by 'docker push' (e.g., by Jenkins).
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Added alternative builder for project images: buildah
https://github.com/containers/buildah
Considering that some of our plugins use CRI-O runtime it could be
a good idea to get rid of docker as a builder. It should allow us
not to run docker daemon at all, even for build purposes.
Kubernetes also goes this way encouraging users to switch to CRI
runtimes (CRI-O and containerd), so having non-docker builds supported
looks good from this perspective too.
Docker documentation recommends configuring proxy in
a Docker client configuration file ~/.docker/config.json for Docker
version >= 17.07: https://docs.docker.com/network/proxy/
Using --build-arg for this purpose is not recommended, hence
removing.