diff --git a/.github/workflows/scaleway-down.yml b/.github/workflows/scaleway-down.yml index f2a3b4ad0..0c27a6f04 100644 --- a/.github/workflows/scaleway-down.yml +++ b/.github/workflows/scaleway-down.yml @@ -21,7 +21,7 @@ jobs: args: container container list name=${{ secrets.CONTAINER_NAME }} --output json - name: Get CONTAINER_ID env var - run: echo CONTAINER_ID=$(cat "${GITHUB_WORKSPACE}/scw.output" | jq -r '.id') + run: echo CONTAINER_ID=$(cat "${GITHUB_WORKSPACE}/scw.output" | jq -r '.[0].id') - name: 0 instances uses: jawher/action-scw@v2.24.0 diff --git a/.github/workflows/scaleway-up.yml b/.github/workflows/scaleway-up.yml index 1acdd4738..f09f02c3e 100644 --- a/.github/workflows/scaleway-up.yml +++ b/.github/workflows/scaleway-up.yml @@ -21,7 +21,7 @@ jobs: args: container container list name=${{ secrets.CONTAINER_NAME }} --output json - name: Get CONTAINER_ID env var - run: echo CONTAINER_ID=$(cat "${GITHUB_WORKSPACE}/scw.output" | jq -r '.id') + run: echo CONTAINER_ID=$(cat "${GITHUB_WORKSPACE}/scw.output" | jq -r '.[0].id') - name: start 1 instances uses: jawher/action-scw@v2.24.0