diff --git a/.github/workflows/scaleway-down.yml b/.github/workflows/scaleway-down.yml index 4d60de1c..beeb94ba 100644 --- a/.github/workflows/scaleway-down.yml +++ b/.github/workflows/scaleway-down.yml @@ -23,7 +23,7 @@ jobs: - name: Get container ID run: | - echo "CONTAINER_ID=$(container container list name=${{ secrets.CONTAINER_NAME }} | awk 'NR==2{print $1}')" >> $GITHUB_ENV + echo "CONTAINER_ID=$(scw 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 05bb5140..04b547c9 100644 --- a/.github/workflows/scaleway-up.yml +++ b/.github/workflows/scaleway-up.yml @@ -22,7 +22,7 @@ jobs: default-organization-id: ${{ secrets.SCW_DEFAULT_ORGANIZATION_ID }} - name: Get container ID run: | - echo "CONTAINER_ID=$(container container list name=${{ secrets.CONTAINER_NAME }} | awk 'NR==2{print $1}')" >> $GITHUB_ENV + echo "CONTAINER_ID=$(scw 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