mirror of https://github.com/openwrt/docker.git
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/209/head
parent
1164645a5e
commit
f6d7df9305
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue