ci: select only correct targz for rootfs build

Changes to upstream builds now create multiple targz images, so
the current wildcard selections result in multiple values instead
of the single one desired.

Make the image matching specific to the one desired.

Fixes: https://github.com/openwrt/docker/issues/202
Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
pull/206/head
Eric Fahlgren 2026-07-15 10:34:29 -07:00
parent 1164645a5e
commit f1795b2d9d
1 changed files with 3 additions and 2 deletions

View File

@ -471,11 +471,12 @@ jobs:
id: build_args
run: |
echo 'args<<EOF
DOWNLOAD_FILE=openwrt-.*-rootfs.tar.gz
TARGET=${{ matrix.target }}
TARGET_TAG="${TARGET//\//-}"
DOWNLOAD_FILE=openwrt-${TARGET_TAG}-rootfs.tar.gz
WORKDIR=/
USER=root
VERSION_PATH=${{ needs.generate_matrix.outputs.version_path }}
TARGET=${{ matrix.target }}
BASE_IMAGE=scratch
CMD=ash
FILE_HOST=${{ needs.generate_matrix.outputs.file_host }}