mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-02-22 06:43:41 +00:00
The ORAS cache helper needs PUSH_TO_REGISTRY to be set to 'yes' to push new artifacts to the cache. However, this environment variable was not being passed to the Docker container during agent, tools, and busybox builds. Moreover, for ghcr.io authentication, add support for using GH_TOKEN and GITHUB_ACTOR as fallbacks when explicit credentials (ARTEFACT_REGISTRY_USERNAME/PASSWORD) are not provided. Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com>