ci: generate package list during compose via finalize.d
Build containers / fedora-cosmic (rawhide) (push) Successful in 11m54s
Build containers / fedora-cosmic (44) (push) Successful in 12m56s

Avoid mounting the built image with buildah (ran out of disk); the
finalize.d hook records the rpm list next to the treefile and release.sh
consumes it directly.
This commit is contained in:
2026-09-21 17:35:17 +02:00
parent 0a05b2a6bc
commit de5b0f143a
4 changed files with 29 additions and 15 deletions
+3 -3
View File
@@ -46,7 +46,7 @@ jobs:
run: |
set -xeuo pipefail
dnf install -y nodejs jq curl git createrepo_c
dnf install -y skopeo buildah
dnf install -y skopeo
dnf install -y cosign || true
if ! command -v cosign >/dev/null; then
case "$(uname -m)" in
@@ -114,5 +114,5 @@ jobs:
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
run: |
buildid="$(cat .buildid)"
oci="build/${IMAGE}-${DISTRO}-${ARCH}/${IMAGE}-${DISTRO}-${ARCH}.ociarchive"
./release.sh "${IMAGE}" "${DISTRO}" "${buildid}" "${oci}"
pkgs="build/${IMAGE}-${DISTRO}-${ARCH}/packages-current.txt"
./release.sh "${IMAGE}" "${DISTRO}" "${buildid}" "${pkgs}"