diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1d5a56b..50d8544 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -77,6 +77,10 @@ jobs: semantic_version: ${{ env.SEMANTIC_VERSION }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Trigger apprunner deployment - run: | - aws apprunner start-deployment --service-arn ${{ secrets.APPRUNNER_SERVICE_ARN }} + - name: Deploy to App Runner + uses: awslabs/amazon-app-runner-deploy@main + with: + service: ${{ secrets.APPRUNNER_SERVICE_ARN }} + image: public.ecr.aws/s5k1g2u8/infrakit:${{ steps.semantic.outputs.new_release_version }} + access-role-arn: ${{ secrets.APPRUNNER_SERVICE_ROLE }} + wait-for-service-stability-seconds: 1200