mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-27 21:57:16 +00:00
10 lines
224 B
Python
10 lines
224 B
Python
|
BaseImageProvider = provider(fields = ["type"])
|
||
|
|
||
|
def _impl(ctx):
|
||
|
return BaseImageProvider(type = ctx.build_setting_value)
|
||
|
|
||
|
base_image = rule(
|
||
|
implementation = _impl,
|
||
|
build_setting = config.string(flag = True),
|
||
|
)
|