diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml index a973d29..aca9e8e 100644 --- a/.gitea/workflows/actions.yaml +++ b/.gitea/workflows/actions.yaml @@ -54,19 +54,12 @@ jobs: run: | mkdir -p \ ubuntu-vm - - name: Cache source iso - id: cache-iso - uses: actions/cache@v4 - with: - path: ubuntu-vm/ubuntu.iso - key: ubuntu-24.04.2-live-server-amd64 - - - if: ${{ steps.cache-iso.outputs.cache-hit != 'true' }} - name: Download source Ubuntu iso - continue-on-error: true + - name: Download source Ubuntu iso run: | - curl -L -o ubuntu-vm/ubuntu.iso https://releases.ubuntu.com/24.04/ubuntu-24.04.2-live-server-amd64.iso - + curl -L \ + https://sn.itch.fyi/Repository/iso/Canonical/Ubuntu%20Server%2024.04/ubuntu-24.04.2-live-server-amd64.iso \ + -o ubuntu-vm/ubuntu.iso \ + -u ${{ secrets.REPO_USERNAME }}:${{ secrets.REPO_PASSWORD }} - name: Generate seed ISO run: | apt-get update && \ @@ -93,7 +86,6 @@ jobs: qemu-img create -f qcow2 ubuntu-vm/ubuntu.qcow2 10G - name: Run virt-install - # container: quay.io/kubevirt/libvirt run: | apt-get update && \ apt-get install -y \ @@ -105,6 +97,7 @@ jobs: libvirtd -d && virtlogd -d virt-install \ + --virt-type qemu \ --name ubuntu-harvester \ --ram 3072 \ --vcpus 2 \