1
0
forked from suse-edge/Factory

kube-rbac-proxy-image: fix _service file

Add missing prefix and support level replacements
This commit is contained in:
Steven Hardy 2024-11-12 18:11:56 +00:00
parent 1492cfce52
commit a52af83ddd
Signed by untrusted user: steven.hardy
GPG Key ID: 44E1F7EC6AC42B8E

View File

@ -9,7 +9,11 @@
</service>
<service name="replace_using_env" mode="buildtime">
<param name="file">Dockerfile</param>
<param name="eval">IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})</param>
<param name="var">IMG_PREFIX</param>
<param name="eval">IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo)</param>
<param name="var">IMG_REPO</param>
<param name="eval">SUPPORT_LEVEL=$(rpm --macros=/root/.rpmmacros -E %support_level)</param>
<param name="var">SUPPORT_LEVEL</param>
</service>
</services>