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 95ab231
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-prd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
run: |
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG ./application
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
- name: Update beanstalk version
env:
ENVIRONMENT: production
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 95ab231

Please sign in to comment.