Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
fix: aws cli cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
timmyers committed Feb 22, 2023
1 parent a7567bf commit 4a28997
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4a28997

Please sign in to comment.