ci/cd - use volume id instead of index for arm instance
This commit is contained in:
parent
30c952e9e4
commit
d0a8cc3818
|
@ -53,7 +53,7 @@ jobs:
|
|||
- name: Wait for VM
|
||||
run: scw instance server wait ${{ fromJson(steps.scw.outputs.json).ID }} zone=fr-par-2
|
||||
- name: Configure boot volume
|
||||
run: scw instance server update ${{ fromJson(steps.scw.outputs.json).ID }} zone=fr-par-2 volumes.0.boot=true
|
||||
run: scw instance server update ${{ fromJson(steps.scw.outputs.json).ID }} zone=fr-par-2 volumes.${{ fromJson(steps.scw.outputs.json).image.root_volume.id }}.boot=true
|
||||
- name: Start VM
|
||||
run: scw instance server start ${{ fromJson(steps.scw.outputs.json).ID }} zone=fr-par-2
|
||||
- name: Wait for SSH
|
||||
|
|
Loading…
Reference in New Issue