mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
ci/cd - use volume id instead of index for arm instance
This commit is contained in:
parent
30c952e9e4
commit
d0a8cc3818
2
.github/workflows/create-arm.yml
vendored
2
.github/workflows/create-arm.yml
vendored
|
@ -53,7 +53,7 @@ jobs:
|
||||||
- name: Wait for VM
|
- name: Wait for VM
|
||||||
run: scw instance server wait ${{ fromJson(steps.scw.outputs.json).ID }} zone=fr-par-2
|
run: scw instance server wait ${{ fromJson(steps.scw.outputs.json).ID }} zone=fr-par-2
|
||||||
- name: Configure boot volume
|
- 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
|
- name: Start VM
|
||||||
run: scw instance server start ${{ fromJson(steps.scw.outputs.json).ID }} zone=fr-par-2
|
run: scw instance server start ${{ fromJson(steps.scw.outputs.json).ID }} zone=fr-par-2
|
||||||
- name: Wait for SSH
|
- name: Wait for SSH
|
||||||
|
|
Loading…
Reference in a new issue