File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed
Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change 1515env :
1616 version : ${{ inputs.version }}
1717 tag : ${{ inputs.tag }}
18+ docker_image : ghcr.io/elastisys/openstack-client:v0.1.0
1819
1920
2021jobs :
2122 on-success :
2223 runs-on : ubuntu-24.04
23- container :
24- image : ghcr.io/elastisys/openstack-client:v0.1.0
25- volumes :
26- - /data/output
2724
2825 steps :
2926 - name : retrieve image
3027 uses : actions/download-artifact@v5
3128 with :
3229 name : ubuntu-2404-efi-kube-${{ env.version }}-ck8s-capi-${{ env.tag }}
33- path : /data/output
34-
35- # - name: install deps
36- # run: |
37- # sudo apt update && \
38- # sudo apt install -y python3-openstackclient
3930
4031 - name : store image
4132 env :
5041
5142 image_create_extra_vars+=('--property' 'hw_firmware_type=uefi' '--property' 'hw_disk_bus=scsi' '--property' 'hw_scsi_model=virtio-scsi')
5243 image_name=ubuntu-2404-efi-kube-${{ env.version }}-ck8s-capi-${{ env.tag }}
53- image_path=/data/output /ubuntu-2404-efi-kube-${{ env.version }}-ck8s-capi-${{ env.tag }}
44+ image_path=/tmp/home /ubuntu-2404-efi-kube-${{ env.version }}-ck8s-capi-${{ env.tag }}
5445
55- openstack image create --disk-format qcow2 "${image_create_extra_vars[@]}" --file "${image_path}" --shared --progress "${image_name}"
46+ docker run -i --rm -v ${{ github.workspace }}:/tmp/home openstack image create --disk-format qcow2 "${image_create_extra_vars[@]}" --file "${image_path}" --shared --progress "${image_name}"
You can’t perform that action at this time.
0 commit comments