From e5aceb6a501df3ed62e440a00d887ef61ebc39de Mon Sep 17 00:00:00 2001 From: r3drun3 Date: Fri, 5 Jan 2024 15:29:43 +0100 Subject: [PATCH] ci: modify debugging instructions Signed-off-by: r3drun3 --- .github/workflows/patch.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/patch.yaml b/.github/workflows/patch.yaml index a950252..73f78de 100644 --- a/.github/workflows/patch.yaml +++ b/.github/workflows/patch.yaml @@ -60,10 +60,12 @@ jobs: if: steps.copa.conclusion == 'success' run: | original_image_name=$(echo "${{ matrix.images }}" | sed 's/\//_/g' | sed 's/:/_/') - docker save -o "${GITHUB_WORKSPACE}/${original_image_name}_patched.tar" ${{ steps.copa.outputs.patched-image }} - ls -l ${GITHUB_WORKSPACE}/patched - mv "${GITHUB_WORKSPACE}/${original_image_name}_patched.tar" ${GITHUB_WORKSPACE}/patched/ - ls -l ${GITHUB_WORKSPACE}/patched + mkdir -p "${GITHUB_WORKSPACE}/patched" + docker save -o "${GITHUB_WORKSPACE}/patched/${original_image_name}_patched.tar" ${{ steps.copa.outputs.patched-image }} + ls -l "${GITHUB_WORKSPACE}/patched" + mv "${GITHUB_WORKSPACE}/patched/${original_image_name}_patched.tar" "${GITHUB_WORKSPACE}/patched/" + ls -l "${GITHUB_WORKSPACE}/patched" +