From 77f1c4bfc5ac9452f5f79a94c540be9fe775308a Mon Sep 17 00:00:00 2001 From: Saubhik Datta <50126327+saubhikdattagithub@users.noreply.github.com> Date: Tue, 18 Aug 2026 11:33:11 +0530 Subject: [PATCH] fix: add .container to prevent amd64-pinned digest on arm64 builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The reusable build workflow resolves the container image digest in the source job (which runs on amd64). This pins an amd64-specific digest into .container, which is then reused by the arm64 binary job — causing "image platform (linux/amd64) does not match expected platform (linux/arm64)" and an Exec format error. By providing .container with just the image name (no digest), the source job's resolve step is skipped (`if [ ! -e .container ]`), and each binary job's `podman run --arch $arch` resolves the correct platform manifest directly from the registry. Signed-off-by: Saubhik Datta <50126327+saubhikdattagithub@users.noreply.github.com> --- .container | 1 + 1 file changed, 1 insertion(+) create mode 100644 .container diff --git a/.container b/.container new file mode 100644 index 0000000..8b932b4 --- /dev/null +++ b/.container @@ -0,0 +1 @@ +ghcr.io/gardenlinux/repo-debian-snapshot