Skip to content

Commit

Permalink
Update backend-ec2-deploy.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Haroun Alarabi <[email protected]>
  • Loading branch information
HarounAlarabi authored Feb 14, 2024
1 parent abca632 commit 41ad17d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/backend-ec2-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push docker image
- name: Build and push Docker image
uses: docker/build-push-action@v2
run:|
docker build -t harounalarabi/server
docker push harounalarabi/server:latest
with:
context: .
push: true
tags: harounalarabi/server:latest


- name: Deploy to EC2
uses: easingthemes/[email protected]
Expand Down

0 comments on commit 41ad17d

Please sign in to comment.