From f93f37c031f3969c305573f6e631135ad0d48ce1 Mon Sep 17 00:00:00 2001 From: Paul Leclercq Date: Tue, 28 Nov 2023 11:30:33 +0100 Subject: [PATCH] wip: access --- .github/workflows/scaleway-down.yml | 7 +++---- .github/workflows/scaleway-up.yml | 6 ++---- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/scaleway-down.yml b/.github/workflows/scaleway-down.yml index c44f3921..9cefb529 100644 --- a/.github/workflows/scaleway-down.yml +++ b/.github/workflows/scaleway-down.yml @@ -11,17 +11,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Use CLI - uses: scaleway/action-scw@v0 + uses: jawher/action-scw@v2.24.0 env: SCW_ACCESS_KEY: ${{ secrets.SCW_ACCESS_KEY }} SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }} SCW_ORGANIZATION_ID: ${{ secrets.SCW_ORGANIZATION_ID }} SCW_ZONE: ${{ secrets.SCW_ZONE }} - with: - version: v2.24.0 - name: Get container ID run: | - echo "CONTAINER_ID=$(scw container container list name=${{ secrets.CONTAINER_NAME }} | awk 'NR==2{print $1}')" >> $GITHUB_ENV + echo "CONTAINER_ID=$(container container list name=${{ secrets.CONTAINER_NAME }} | awk 'NR==2{print $1}')" >> $GITHUB_ENV + - 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 9a5cd224..5a813db5 100644 --- a/.github/workflows/scaleway-up.yml +++ b/.github/workflows/scaleway-up.yml @@ -11,17 +11,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Use CLI - uses: scaleway/action-scw@v0 + uses: jawher/action-scw@v2.24.0 env: SCW_ACCESS_KEY: ${{ secrets.SCW_ACCESS_KEY }} SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }} SCW_ORGANIZATION_ID: ${{ secrets.SCW_ORGANIZATION_ID }} SCW_ZONE: ${{ secrets.SCW_ZONE }} - with: - version: v2.24.0 - name: Get container ID run: | - echo "CONTAINER_ID=$(scw container container list name=${{ secrets.CONTAINER_NAME }} | awk 'NR==2{print $1}')" >> $GITHUB_ENV + echo "CONTAINER_ID=$(container container list name=${{ secrets.CONTAINER_NAME }} | awk 'NR==2{print $1}')" >> $GITHUB_ENV - name: start 1 instances uses: jawher/action-scw@v2.24.0