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

Commit

Permalink
chore: made publishable
Browse files Browse the repository at this point in the history
  • Loading branch information
charlee-dev committed Jun 30, 2024
1 parent 0083d67 commit c93e7a0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
ECR_CLUSTER: ${{ secrets.ECR_CLUSTER }}
ECR_SERVICE: ${{ secrets.ECR_SERVICE }}

steps:
- name: Checkout code
Expand Down Expand Up @@ -45,6 +42,6 @@ jobs:
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
- name: Update image in AWS
- name: Update App Runner image in AWS
run: |
aws apprunner create-service --service-name benatty-shop-web-client --source-configuration '{"ImageRepository": {"ImageIdentifier": "'"$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG"'", "ImageRepositoryType": "ECR"}}'

0 comments on commit c93e7a0

Please sign in to comment.