mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-24 12:27:18 +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),
|
||
|
)
|