diff options
| author | tranch <tranch.xiao@gmail.com> | 2026-08-28 23:17:18 +0800 |
|---|---|---|
| committer | tranch <tranch.xiao@gmail.com> | 2026-08-28 23:17:18 +0800 |
| commit | 7b97d7e6edca94508368bafd2f5f08ce3df4affb (patch) | |
| tree | cfe593e913c0b27afa91608c3ea02fc9c64634ae /.github/workflows/build.yml | |
| parent | 0143bb98938a94179e296b44bc7f6b72f3f4fda4 (diff) | |
| download | AeroCore-OS-7b97d7e6edca94508368bafd2f5f08ce3df4affb.tar.gz AeroCore-OS-7b97d7e6edca94508368bafd2f5f08ce3df4affb.zip | |
ci: skip image metadata verification
Diffstat (limited to '.github/workflows/build.yml')
| -rw-r--r-- | .github/workflows/build.yml | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f2a2b07..02a6055 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -163,28 +163,6 @@ jobs: "${IMAGE_NAME}" \ "${DEFAULT_TAG}" - - name: Verify image metadata before publishing - run: | - sudo podman run --rm --entrypoint /usr/bin/bash \ - "${IMAGE_NAME}:${DEFAULT_TAG}" -ceu ' - system_release=/etc/system-release - fedora_version=$(jq -er '\''."fedora-version" | strings'\'' \ - /usr/share/ublue-os/image-info.json) - if od -An -v -tx1 "$system_release" | awk '\''{ for (i = 1; i <= NF; i++) if ($i == "00") found = 1 } END { exit(found ? 0 : 1) }'\''; then - echo "NUL byte in ${system_release}" >&2 - exit 1 - fi - case "$(<"$system_release")" in - "AeroCore OS release ${fedora_version} ("*) ;; - *) - echo "Unexpected system-release: $(<"$system_release")" >&2 - exit 1 - ;; - esac - jq -e '\''.["image-name"] == "aerocore-os" and .["image-vendor"] == "aerocore-io"'\'' \ - /usr/share/ublue-os/image-info.json >/dev/null - ' - # If you are feeling adventurous, use the new distro agnostic rechunker # https://github.com/coreos/chunkah # You can delete the Rechunk with rpm-ostree portion then if you use this |
