peridot/ci/utils.jsonnet
2022-07-07 22:13:21 +02:00

11 lines
365 B
Plaintext

local stage = std.extVar('stage');
local ociRegistry = std.extVar('oci_registry');
local ociRegistryDocker = std.extVar('oci_registry_docker');
local localEnvironment = std.extVar('local_environment');
local localImage = if localEnvironment == "1" then true else false;
{
local_image: localImage,
docker_hub_image(name): "%s/%s" % [ociRegistryDocker, name],
}