Skip to content

Commit 07ea3f3

Browse files
committed
add volume
1 parent b5f5e54 commit 07ea3f3

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/store-openstack-capi-image-elastx.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,17 @@ env:
2020
jobs:
2121
on-success:
2222
runs-on: ubuntu-24.04
23-
container: ghcr.io/elastisys/openstack-client:v0.1.0
24-
23+
container:
24+
image: ghcr.io/elastisys/openstack-client:v0.1.0
25+
volumes:
26+
- /data/output
27+
2528
steps:
2629
- name: retrieve image
2730
uses: actions/download-artifact@v5
2831
with:
2932
name: ubuntu-2404-efi-kube-${{ env.version }}-ck8s-capi-${{ env.tag }}
33+
path: /data/output
3034

3135
# - name: install deps
3236
# run: |
@@ -46,6 +50,6 @@ jobs:
4650
4751
image_create_extra_vars+=('--property' 'hw_firmware_type=uefi' '--property' 'hw_disk_bus=scsi' '--property' 'hw_scsi_model=virtio-scsi')
4852
image_name=ubuntu-2404-efi-kube-${{ env.version }}-ck8s-capi-${{ env.tag }}
49-
image_path=./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 }}
5054
5155
openstack image create --disk-format qcow2 "${image_create_extra_vars[@]}" --file "${image_path}" --shared --progress "${image_name}"

0 commit comments

Comments
 (0)