flathub-infra / flatpak-builder-lint

A linter for flatpak-builder manifests
MIT License
48 stars 125 forks source link

Provide multi-arch container images #298

Closed darkdragon-001 closed 6 months ago

darkdragon-001 commented 6 months ago

This provides an arm64 image which is needed for https://github.com/flathub-infra/flatpak-github-actions/commit/79d4438081ca6fbab81225518b16a4887ae667e9 to work.

barthalion commented 6 months ago

Looks like there's still something wrong with this:

https://github.com/flathub-infra/flatpak-github-actions/actions/runs/7951847449/job/21705752572

 > [linux/arm64 2/4] RUN flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo:
0.147 /bin/sh: line 1: /app/bin/flatpak: cannot execute: required file not found

The error looks like something is not correct with the binfmt setup, or the image is borked altogether.

barthalion commented 6 months ago

Yeah, it ends up broken because we don't build the linter image properly for aarch64.

darkdragon-001 commented 6 months ago

O_o you build outside of the container and only copy the artifacts inside the container. Should be fixed in #300.