From d0a8cc3818fe58b3f7d9c63f0f731dea26403c33 Mon Sep 17 00:00:00 2001 From: florian Date: Sat, 9 Sep 2023 11:39:24 +0200 Subject: [PATCH] ci/cd - use volume id instead of index for arm instance --- .github/workflows/create-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create-arm.yml b/.github/workflows/create-arm.yml index a897190f..94e3a7d6 100644 --- a/.github/workflows/create-arm.yml +++ b/.github/workflows/create-arm.yml @@ -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