Skip to content

Commit

Permalink
chore: separate update beanstalk in another step
Browse files Browse the repository at this point in the history
  • Loading branch information
Matheusafonsouza committed Nov 2, 2022
1 parent 50f087e commit bb6911d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy-prd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ jobs:
run: |
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG ./application
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
beanstalk:
needs: build
name: Update beanstalk
runs-on: ubuntu-latest

- name: Update beanstalk version
env:
Expand Down
12 changes: 6 additions & 6 deletions env/prod/Dockerrun.aws.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"AWSEBDockerrunVersion": "1",
"Image": {
"Name": "384775792797.dkr.ecr.us-east-1.amazonaws.com/docker-beanstalk-production",
"Update": true
"Name": "384775792797.dkr.ecr.us-east-1.amazonaws.com/docker-beanstalk-production",
"Update": "true"
},
"Ports": [
{
"ContainerPort": "8000"
}
{
"ContainerPort": "8000"
}
]
}
}
Binary file modified env/prod/docker-beanstalk-production.zip
Binary file not shown.

0 comments on commit bb6911d

Please sign in to comment.