ci/cd - use volume id instead of index for arm instance

This commit is contained in:
florian 2023-09-09 11:39:24 +02:00
parent 30c952e9e4
commit d0a8cc3818
1 changed files with 1 additions and 1 deletions

View File

@ -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