From b6df8b9c2bda726559ab4d1beb53364774ce8197 Mon Sep 17 00:00:00 2001 From: Paul Gaiduk Date: Wed, 7 Oct 2026 15:47:42 +0200 Subject: [PATCH] github: honour LINUXKIT_PKG_ORG when exporting the EVE image from cache The build-eve action and the riscv64 build step export the EVE image from the linuxkit cache under the hardcoded name lfedge/eve:. When a runner sets LINUXKIT_PKG_ORG (e.g. to point linuxkit at a local registry namespace such as 10.208.13.77:5050/lfedge), linuxkit tags the built image under that org instead, and 'linuxkit cache export' fails with 'could not find image or index for docker.io/lfedge/eve:' because the cache lookup is an exact-name match. Derive the org from LINUXKIT_PKG_ORG, falling back to lfedge, so the export asks for the name linuxkit actually wrote. Co-Authored-By: Claude Fable 5.1 Signed-off-by: Paul Gaiduk --- .github/actions/build-eve/action.yml | 2 +- .github/workflows/build.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/build-eve/action.yml b/.github/actions/build-eve/action.yml index fddbb68a5ef..20e8f40e292 100644 --- a/.github/actions/build-eve/action.yml +++ b/.github/actions/build-eve/action.yml @@ -58,7 +58,7 @@ runs: shell: bash run: | make cache-export ZARCH=${{ inputs.arch }} \ - IMAGE=lfedge/eve:$VERSION-${{ inputs.hv }} \ + IMAGE=${LINUXKIT_PKG_ORG:-lfedge}/eve:$VERSION-${{ inputs.hv }} \ OUTFILE=eve-${{ inputs.hv }}-${{ inputs.arch }}-${{ inputs.platform }}.tar \ IMAGE_NAME=$TAG-${{ inputs.hv }}-${{ inputs.arch }} - name: Upload EVE image diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c573574f14f..ad23099ed06 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -445,7 +445,7 @@ jobs: docker system df -v - name: Export docker container run: | - make cache-export ZARCH=riscv64 IMAGE=lfedge/eve:$VERSION-mini \ + make cache-export ZARCH=riscv64 IMAGE=${LINUXKIT_PKG_ORG:-lfedge}/eve:$VERSION-mini \ OUTFILE=eve-mini-riscv64-generic.tar IMAGE_NAME=$TAG-mini-riscv64 - name: Upload EVE mini-riscv64-generic uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0