From 6a843c2f717618afa973119b13c2ea51068b099a Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Sat, 2 Mar 2024 10:17:25 +0800 Subject: [PATCH] fix(vyos-build): fix rclone file names --- .github/workflows/vyos-build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/vyos-build.yaml b/.github/workflows/vyos-build.yaml index 1512ccad..3d32ce62 100644 --- a/.github/workflows/vyos-build.yaml +++ b/.github/workflows/vyos-build.yaml @@ -107,7 +107,7 @@ jobs: run: | # first copies ISO as is, then copies ISO with common "latest" filename (with some filters to avoid hardcoding and safeguard against uploading the wrong thing if somehow >1 file), then deletes files older than the past 5 number of files under that arch and builder name export FILE=$(find . -type f | tail -n 1) - rclone copyto "${FILE}" r2:vyos-build/ + rclone copyto "${FILE}" "r2:vyos-build/${FILE}" rclone copyto "${FILE}" r2:vyos-build/${{ env.VYOS_ARCH }}.iso rclone lsf --format=p r2:vyos-build | grep "${{ env.VYOS_BUILDER }}" | grep "${{ env.VYOS_ARCH }}" | tail -n +4 | rclone delete --files-from - r2:vyos-build rclone cleanup r2:vyos-build