diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index cd89fea..f70aef8 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -29,11 +29,11 @@ jobs: registry_image_url: ${{ env.REGISTRY_URL }}/${{ env.IMAGE_NAME }}:${{ github.run_number }} - name: Check the image is using the latest version run: > - [ $( + [ $( \ curl \ --request GET \ --header "X-Auth-Token: ${{ secrets.SCALEWAY_SECRET_KEY }}" \ https://api.scaleway.com/functions/v1alpha2/regions/${{ env.REGION }}/containers/${{ env.CONTAINER_ID }} | \ - jq -r .registry_image - ) = ${{ env.REGISTRY_URL }}/${{ env.IMAGE_NAME }}:${{ github.run_number }} + jq -r .registry_image \ + ) = ${{ env.REGISTRY_URL }}/${{ env.IMAGE_NAME }}:${{ github.run_number }} \ ]