diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a17dc9c..6476843 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -79,9 +79,12 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Deploy to App Runner run: | - aws apprunner update-service --service-arn ${{ secrets.APPRUNNER_SERVICE_ARN }} "`cat << EOF + cat << EOF > new_image.yaml + ServiceArn: ${{ secrets.APPRUNNER_SERVICE_ARN }} SourceConfiguration: ImageRepository: ImageIdentifier: public.ecr.aws/s5k1g2u8/infrakit:${{ steps.semantic.outputs.new_release_version }} ImageRepositoryType: ECR_PUBLIC - EOF`" + EOF + aws apprunner update-service --cli-input-yaml file://new_image.yaml + \ No newline at end of file