Skip to content

Commit 93bb1b8

Browse files
committed
testing
1 parent 07ea3f3 commit 93bb1b8

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

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

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,18 @@ on:
1515
env:
1616
version: ${{ inputs.version }}
1717
tag: ${{ inputs.tag }}
18+
docker_image: ghcr.io/elastisys/openstack-client:v0.1.0
1819

1920

2021
jobs:
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:
@@ -50,6 +41,6 @@ jobs:
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}"

0 commit comments

Comments
 (0)