SHA256
1
0
forked from suse-edge/Factory

Use manifest_repo var to allow for release manifest in separate repo

Signed-off-by: Nicolas Belouin <nicolas.belouin@suse.com>

(cherry picked from commit 2a993e342e)
This commit is contained in:
Nicolas Belouin 2024-12-12 15:25:02 +01:00
parent 1390d88af7
commit f0ec2699b4
3 changed files with 4 additions and 3 deletions

View File

@ -4,7 +4,7 @@
<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="eval">IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %manifest_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>

View File

@ -6,6 +6,8 @@
<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">MANIFEST_REPO=$(rpm --macros=/root/.rpmmacros -E %manifest_repo)</param>
<param name="var">MANIFEST_REPO</param>
</service>
<service name="replace_using_env" mode="buildtime">
<param name="file">Chart.yaml</param>
@ -15,4 +17,3 @@
<param name="var">CHART_MAJOR</param>
</service>
</services>

View File

@ -12,7 +12,7 @@ image:
env:
releaseManifest:
image: %%IMG_REPO%%/%%IMG_PREFIX%%release-manifest
image: %%MANIFEST_REPO%%/%%IMG_PREFIX%%release-manifest
kubectl:
image: %%IMG_REPO%%/%%IMG_PREFIX%%kubectl
version: 1.30.3