File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,22 +35,26 @@ jobs:
3535 - run : sudo chown root /bin/tar && sudo chmod u+s /bin/tar
3636 if : ${{ steps.split.outputs._0 == 'ubuntu' }}
3737
38+ - name : Set image filename env var
39+ run : echo "IMAGE_NAME=${{ steps.split.outputs._0 }}-${{ steps.split.outputs._1 }}-${{ matrix.version }}" >> "$GITHUB_ENV"
40+
3841 - uses : actions/cache@v4
3942 with :
4043 path : /home/runner/.cache/image-create
41- key : ${{ steps.split.outputs._0 }}-${{ steps.split.outputs._1 }}-${{ matrix.version }}-${{ github.head_ref || github.ref_name }}
44+ key : ${{ env.IMAGE_NAME }}-${{ github.head_ref || github.ref_name }}
4245 restore-keys : |
43- ${{ steps.split.outputs._0 }}-${{ steps.split.outputs._1 }}-${{ matrix.version }}-${{ github.head_ref || github.ref_name }}
44- ${{ steps.split.outputs._0 }}-${{ steps.split.outputs._1 }}-${{ matrix.version }}
46+ ${{ env.IMAGE_NAME }}-${{ github.head_ref || github.ref_name }}
47+ ${{ env.IMAGE_NAME }}
4548 ${{ steps.split.outputs._0 }}-${{ steps.split.outputs._1 }}
4649
47- - name : Set image filename env var
48- run : echo "IMAGE_NAME=${{ steps.split.outputs._0 }}-${{ steps.split.outputs._1 }}-${{ matrix.version }}" >> "$GITHUB_ENV"
49-
5050 - run : |
51+ echo $PWD
5152 ls -lah
52- uv run disk-image-create vm block-device-efi ${{ steps.split.outputs._0 }} kubernetes
53- # mv image.qcow2 "${IMAGE_NAME}.qcow2"
53+ ls -lah /home/runner
54+ ls -lah /home/runner/.cache
55+ ls -lah /home/runner/.cache/dib
56+ ls -lah /home/runner/.cache/image-create
57+ uv run disk-image-create -o "${IMAGE_NAME}.qcow2" vm block-device-efi ${{ steps.split.outputs._0 }} kubernetes
5458 env:
5559 ELEMENTS_PATH: ${{ github.workspace }}/elements
5660 DIB_RELEASE: ${{ steps.split.outputs._1 }}
You can’t perform that action at this time.
0 commit comments