diff --git a/_config b/_config index e4bf362..96a452b 100644 --- a/_config +++ b/_config @@ -108,7 +108,12 @@ BuildFlags: onlybuild:release-manifest-image # Publish multi-arch container images only once all archs have been built PublishFlags: archsync + + # skopeo and umoci are used by build scripts to list packages + Substitute: system-packages:podman podman buildah createrepo_c release-compare skopeo umoci +%endif +%if "%_repository" == "images" # skopeo and umoci are used by build scripts to list packages Substitute: system-packages:podman podman buildah createrepo_c release-compare edge-build-checks skopeo umoci @@ -122,6 +127,8 @@ BuildFlags: onlybuild:release-manifest-image Patterntype: none BuildFlags: dockerarg:SLE_VERSION=16.0 BuildFlags: onlybuild:kiwi-builder-image + + Substitute: system-packages:podman podman buildah createrepo_c release-compare skopeo umoci # Publish multi-arch container images only once all archs have been built PublishFlags: archsync @@ -140,7 +147,9 @@ BuildFlags: onlybuild:release-manifest-image %endif %else - BuildFlags: excludebuild:kiwi-builder-image + %if "%{sub %{reverse %_project} 1 7}" != "%{reverse :ToTest}" && "%{sub %{reverse %_project} 1 9}" != "%{reverse :Snapshot}" + BuildFlags: excludebuild:kiwi-builder-image + %endif %endif diff --git a/_meta b/_meta index 74b0546..740b25d 100644 --- a/_meta +++ b/_meta @@ -23,6 +23,9 @@ + {%- if for_release %} + + {%- endif %}